Send an email with the API
Last updated November 29, 2026
Send one-off emails from your own app or website, such as receipts, alerts and password resets.
Before you start
- A secret API key.
- A verified sending domain.
- A sender profile on that domain.
- Credit in your email wallet.
There's no test mode: every email is really sent and charged.
Send an email
curl -X POST https://api.v1.simpu.co/email/send \
-H "Authorization: YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"sender_id": "orders@examplebooks.com", "recipients": "ada@example.com", "subject": "Your order has shipped", "content": "<p>Order 1042 is on its way.</p>"}'Send the key on its own, without the word "Bearer".
A successful reply looks like this. The amounts are only an example.
{
"status": 200,
"type": "success",
"message": "Successful",
"data": {
"email": {
"id": "MESSAGE_ID",
"recipients": ["ada@example.com"],
"sender_id": "orders@examplebooks.com",
"from_name": "Example Books",
"subject": "Your order has shipped"
}
},
"meta": {
"estimate": {
"charge": 1.0,
"available_balance": 500.0
}
}
}A successful reply means we've accepted the email, not that it has arrived.
What you can send
- sender_id (required): the email address of one of your sender profiles, typed in lower case.
- recipients (required): one address, or several separated by commas with no spaces. Each person gets their own email.
- subject: without one, the email says "No Subject".
- content: your email as HTML.
- template_id: send one of your saved email templates instead of content. If you send both, the template is used.
You need either content or template_id. Placeholders such as {{name}} aren't filled in, so send finished text.
The sender's name comes from your sender profile. Replies go to the sender's address, not to the profile's Reply-to. You can't add attachments, CC or BCC.
Who doesn't get it
We don't send to addresses on your Unsubscribers list, or addresses that have bounced before, and you're still charged for them. This applies to every email, including password resets and receipts. Nothing in the reply tells you an address was skipped.
Unsubscribes and bounces explains how addresses get on those lists.
What it costs
You pay for each address. An address listed twice is only charged once.
If it fails
- "You are not authorized to access this resource…": the key is missing, wrong or revoked, or it's a publishable key. Use your secret key.
- "OrganisationID not found in header": you put "Bearer" before the key.
- "Domain not found": the domain in sender_id isn't verified.
- "Sender ID (…) not found for this organization.": you don't have a sender profile with that address.
- "Insufficient fund to send email…": top up your email wallet. Nothing was sent.
- "Email sending has been disabled for this workspace…": contact support.
Find your email
In the email app, click Developers, then Email Logs, and search for the address. An address we skipped won't be listed.

The full reference is at docs.simpu.co.

