All guides

Get started

Send your first email

Connect a domain, prepare your key, and make your first request.

Preview guide. Confirm API behavior and connection details against the live service before production use.

A clear path to your first send

Start with a sending domain you own and a server-side application. The steps below describe the intended Sendlom workflow. The connection details and request shapes in this preview are illustrative.

1. Connect a domain

Add a sending domain to your workspace. Copy the authentication records provided into your DNS provider, then verify the records. Use the domain setup guide to understand the process.

2. Prepare your API key

Create an API key in your workspace and save it as an environment variable on your server. Keep it out of client-side JavaScript and public repositories.

3. Make a request

Send a request from your server using your key and an authenticated sender address. Start with a recipient address you control, then inspect the response and save the message ID.

fetch('https://api.sendlom.com/emails', {  method: 'POST',  headers: {    Authorization: 'Bearer YOUR_API_KEY',    'Content-Type': 'application/json'  },  body: JSON.stringify({    from: 'hello@example.com',    to: 'alex@example.com',    subject: 'Welcome aboard'  })});
DeliveredExample response

4. Follow the result

Use the message ID to connect your request to its delivery events. A successful API response means the request was accepted; follow the delivery result separately.

Keep buildingConnect your domain

A little less setup

Your first send.

See how a message moves from request to delivery.

Interactive demo. No account is created and no email is sent.
Email preview

Welcome aboard.

Good things start with a hello.
You’re all set to start building.

Explore the integration guide