Authentication
Learn how to authenticate with the emitd API
Every route in the emitd API except GET /health requires a Bearer API key:
Authorization: Bearer esk_live_...You can generate API keys in the dashboard. Each key carries one of two permission levels:
full_access— Read, send, and manage every resource (contacts, audiences, segments, broadcasts, automations, templates, webhooks, suppressions, messages, inbound).sending_access— Send email only (POST /v1/email,POST /v1/email/batch). Every other route responds with403 insufficient_scope.
Domain-Scoped Keys
A sending_access key MAY additionally be scoped to a single verified sending domain. If you attempt to send an email from any other domain using a scoped key, the API will fail with from_domain_not_verified.