The shape of the REST API
The API is REST over HTTPS. Every action the dashboard can perform has an equivalent endpoint, and the responses use ordinary JSON. Authentication is a bearer token issued per domain, with rate limits and an audit trail scoped to that token.
The endpoints cluster into four groups:
- Messages.
GET /messages,GET /messages/:id,POST /messages(send), andDELETE /messages/:id. List endpoints support cursor pagination and a small set of stable filters: by folder, by tag, by date range, by sender. - Routing rules.
GET /rules,POST /rules,PATCH /rules/:id. Rule shape is JSON, not a UI DSL, so you can manage routing entirely from code if that is how your team prefers to work. - API keys.
GET /keys,POST /keys,DELETE /keys/:id. Key creation returns the full key exactly once; subsequent reads only expose the prefix. - Webhooks.
POST /webhooks,GET /webhooks/:id/deliveries. Subscribe to events, list recent deliveries, replay individual ones.