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.

      Creating an account

      1. Sign up

        Create an account at app.lockally.com. There is no separate developer account: the same account holds your console, your keys and your billing.

      2. Pick your product

        You are asked which product you want, and the answer decides which parts of the API answer you:

        • Lockally API if you are sending transactional mail from your application.
        • Business mail if you need hosted mailboxes for people.
        • Both if you need both.

        This is not a one-way door. Either can be added to the other later, self-serve and without disturbing your keys, domains or history. See Business, API and Both.

      3. Collect your signup bonus, if you took the API

        Accounts with API access get 6,000 free send units, valid for 60 days. Business-only accounts run on their plan’s monthly included allowance instead. A combined account on the Free plan cannot spend send units (Free stops at its monthly allowance), so its bonus is credited when it moves to a paid plan, and the 60 days start then.

        The 60 days matter: this is a trial allowance, not a permanent balance.

      4. Create a key

        Under Tokens on a Lockally API account, or API keys on business mail. Start with a test key so you can build without delivering anything: see your development environment.

      5. Verify a domain, when you are ready to send for real

        You cannot send from an address you have not proved you control. Add the domain, publish the DNS records Lockally generates, and verify. Walked through in DNS and DKIM setup.

        A test key needs none of this, so leave it until you are going live.

      What you can do before verifying anything

      With a test key and no verified domain, the full loop works: send, receive the simulated webhook, read the captured message back, and force a bounce or complaint to exercise your handler. Nothing is delivered, and nothing counts against any limit.

      Next