Skip to content

Endpoints

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

Applies to EngineCloud
View as Markdown
On this page
  1. E-mails
  2. Domains
  3. Templates
  4. Webhooks, suppressions, inbound and keys

E-mails

Method and pathDoes
POST /emailsSend one e-mail → 202 { id, suppressed }
POST /emails/batchUp to 100 e-mails → ids
GET /emails/{id}The e-mail, its status and its events
POST /emails/{id}/cancelCancel a scheduled e-mail
GET /events?to=&tag=&case=&type=&since=&cursor=Search events

Domains

Method and pathDoes
POST /domains{ name } → the records to add
GET /domains, GET /domains/{name}Domains, records and their state
POST /domains/{name}/checkCheck the records now
DELETE /domains/{name}Remove a domain

Templates

Method and pathDoes
GET /templates, POST /templatesList, create
GET /templates/{name}, PUT /templates/{name}Read, save a new draft version
POST /templates/{name}/publish, POST /templates/{name}/rollbackPublish, go back to { version }
POST /templates/{name}/render{ data, locale } → subject, HTML and text

Webhooks, suppressions, inbound and keys

Method and pathDoes
GET|POST /webhooks, DELETE /webhooks/{id}, POST /webhooks/{id}/replayWebhooks
GET|POST /suppressions, DELETE /suppressions/{address}The suppression list
GET|POST /inbound/rules, DELETE /inbound/rules/{id}, GET /inbound/messagesInbound
GET|POST /keys, DELETE /keys/{id}Keys

The OpenAPI document is in the engine’s repository, at spec/openapi.yaml.

  1. E-mails
  2. Domains
  3. Templates
  4. Webhooks, suppressions, inbound and keys

    Search pages, sections and terms