Sending transactional and marketing email through the proposed API.
Last reviewed 1 December 2026
Status
Draft
This documentation describes a proposed API that is not operational yet. Endpoints, fields and behaviour may change before release.
Domain and sender
Verify your sending domain first; see Domain authentication. The from address must use a verified domain.
Message types
Every message carries type: "transactional" or "marketing". Marketing messages require an unsubscribe mechanism and are checked against suppressions for that business.
Test sending
With a test key, messages are validated and you receive simulated events. To check rendering in real inboxes, send to addresses you own once your account allows it.
Response
{
"id": "msg_01HX9A7EXAMPLE",
"channel": "email",
"status": "queued"
}Events
| Event | Meaning |
|---|---|
| message.accepted | Handed to the mail provider |
| message.delivered | Receiving server accepted it — not inbox placement |
| message.bounced | Rejected; includes bounce type |
| message.complained | Recipient reported it as spam |
| message.suppressed | Not sent due to a suppression |
