Getting started

Authentication

Relayly authenticates API requests with an API key sent in the X-API-Key header.

X-API-Key: esp_live_xxxxxxxxxxxxxxxxxxxx

Scopes

Keys are scoped to least privilege. Grant only what an integration needs:

ScopeGrants
sendCreate & send campaigns, transactional email
readRead-only access to resources
contact.manageManage contacts & lists
validation.runRun email validation jobs
webhook.manageManage webhook endpoints

Rate limits & idempotency

Each key is rate-limited; exceeding the limit returns 429 Too Many Requests — back off and retry. To make writes safe to retry, send a unique Idempotency-Key header; Relayly will not process the same key twice.

Keep keys secret. Never expose them in client-side code. Rotate or revoke a key instantly from the dashboard.