Authentication
Use an API key from Dashboard > Settings > API Keys. Send it as a bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEY
Use an API key from Dashboard > Settings > API Keys. Send it as a bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEY
POST to the transactional send endpoint with sender, recipient, subject, and content fields.
POST /api/transactional/send/
Content-Type: application/json
{
"from_email": "billing@example.com",
"to_email": "customer@example.com",
"subject": "Your receipt",
"html_content": "<p>Thanks for your purchase.</p>"
}
Use the subscriber API to create, update, and segment contacts for campaign workflows.
GET /api/subscribers/
POST /api/subscribers/