API reference

Base URL is the SendFS host plus /api. Keys use the sf_ prefix.

POST /api/emails sends. GET /api/emails lists. GET /api/emails/:id reads one. POST /api/emails/:id/cancel cancels a message that is still queued.

POST /api/domains, GET /api/domains, POST /api/domains/:id/verify, and DELETE /api/domains/:id need a full-access key.

POST /api/contacts creates a contact. POST /api/automations/:id/trigger runs an automation. Body: to, and optional variables.

Errors use statusCode, name, and message. Quota failures are 403. A bad key is 401. More than 10 requests in a second is 429.

© 2026 SendFS. Email on your Amazon SES account.