Lockally

      Use your API key in the examples

      Replaces lk_live_… in the code samples on this site so you can copy and run them. It is stored in this browser only and is never sent anywhere, including to Ask AI.

      It will be visible on the page. Use a test key if you are sharing your screen or taking screenshots.

      Lockally for Developers

      Send and receive email from your own domain with one API call. DKIM signing, deliverability monitoring, inbound threads and webhooks, all built in.

      Send an email in one call

      curl -X POST https://api.lockally.com/v1/send \
        -H "Authorization: Bearer lk_live_..." \
        -H "Content-Type: application/json" \
        -H "Idempotency-Key: welcome-user-42" \
        -d '{"from":"hello@yourco.com","to":["user@example.com"],"subject":"Welcome!","text":"Thanks for signing up."}'

      A 202 means it is queued. A 200 means nothing was queued, because every recipient was suppressed or the call used a test key. Check the status code, not just that the call succeeded.

      Start here

      Guides

      Task-first walkthroughs. The reference tells you what exists; these tell you how to use it.

      What you get

      Plain HTTP

      POST /v1/send with JSON. The SDKs are convenience, not a requirement: any language that can make an HTTPS request can use the whole API.

      Automatic DKIM

      Add a domain, verify its DNS once, and every message from it is signed. No key handling on your side.

      Inbound, not only outbound

      Read threads, reply in context and mark messages read over the same API, so an app or an agent can work a real mailbox.

      Compliance built in

      One-click unsubscribe to RFC 8058, suppression lists and feedback loop processing, without you wiring any of it.

      Elsewhere