How to send the key
RecommendedEach API Key belongs to one workspace. You cannot access another workspace with the same key.
Common combinations
Send only
email:sendSend and query
email:send, email:readWith scheduling
email:send, email:cancelFull setup
email:domains:create, email:domains:list, email:send, email:readAvailable scopes
email:send
email:send
Send immediate or scheduled email. The
from domain must be VERIFIED.email:read
email:read
- List sent emails in the workspace
- Query one send by id
email:cancel
email:cancel
Cancel scheduled email. Only with
SCHEDULED status. Credits are refunded.email:domains:list
email:domains:list
List domains, view detail, and verify DNS status.
email:domains:create
email:domains:create
Register a new domain for DNS verification.
Per-domain limit
If the key has configured domainIds, it can only send withfrom addresses on those domains. A domain outside the list returns 403 (DOMAIN_NOT_ALLOWED).
Empty list = any VERIFIED domain in the workspace.
Common errors
401: missing, invalid, or revoked key
401: missing, invalid, or revoked key
Check
Authorization: Bearer sk_... and that the key wasn’t deleted in the dashboard.403: missing scope, domain not allowed, or plan limit
403: missing scope, domain not allowed, or plan limit
Check route scope,
domainIds on the key, and credits (PLAN_LIMIT_CREDITS).400: DOMAIN_NOT_VERIFIED
400: DOMAIN_NOT_VERIFIED
Verify the
from domain in the dashboard before sending.
