API reference
API reference
Every endpoint, generated from docs/openapi.yaml.
The pages in this section are generated from docs/openapi.yaml when the site is built. To change them, edit the YAML.
| Endpoint | Auth | Guide |
|---|---|---|
POST /api/triggered | API key | Send a triggered email |
POST /api/events | API key | Send an event |
POST /api/unsubscribe/{token} | none | Tracking and unsubscribe |
POST /api/webhooks/resend | Svix signature | Provider webhooks |
POST /api/webhooks/postmark | X-Postmark-Secret | Provider webhooks |
Base URL: https://senlo.io on Senlo Cloud, your APP_URL on a self-hosted instance. Authentication: API keys.
Errors
Status codes, the error body, plan limits and rate limits.
Postmark webhook POST
Paste this URL into a Postmark webhook and add a custom header `X-Postmark-Secret` with the webhook secret saved on the provider in Senlo. Senlo applies `Delivery`, `Bounce`, `SpamComplaint`, `Open` and `Click` records. Other record types are acknowledged and ignored.