Skip to content

API reference

The Mail API: addresses, authentication, errors and limits.

Applies to EngineCloud
View as Markdown
On this page
  1. Authentication
  2. Errors

API: https://mail.api.sypnia.com/v1 Cloud, or your engine’s address Engine.

Authentication

Authorization: Bearer <key>. Keys belong to a project and have scopes: send (send and cancel), smtp (the relay), read (events, templates, suppressions), admin (everything, including domains, webhooks and keys). A key never goes in a browser.

Errors

JSON
{ "error": { "code": "domain_not_verified", "message": "laespiga.co is not verified in this project. Run: mail domains check laespiga.co" } }
StatusCodes
400invalid_request, too_many_recipients, invalid_template_data
401unauthorized
403forbidden, sending_paused
404not_found, template_not_found
409already_exists
413too_large
415type_not_allowed
422domain_not_verified, all_suppressed
429rate_limited (with retry-after)
402insufficient_credits
  • Endpoints

    E-mails, events, domains, templates, webhooks, suppressions, inbound and keys.

  1. Authentication
  2. Errors

    Search pages, sections and terms