Authentication
Bearer API keys and scopes. The workspace is always derived from the token.
Every request carries an API key in the Authorization header:
Authorization: Bearer sk_...The workspace (tenant) is ALWAYS derived from the token, never from a request parameter.
Scopes
Keys carry granular scopes, or * for full access. The main ones:
email:send,messages:sendcontacts:read,contacts:writedomains:write,events:writeautomations:read,automations:writecampaigns:read,campaigns:writeinbox:read,inbox:write,inbox:sendwebhooks:read,webhooks:writecommerce:read,commerce:writeutm:read,integrations:write
A :read scope is implied by its :write counterpart: a key with campaigns:write
can also read campaigns, without needing both.
Store keys as secrets. The plaintext token is shown only once, at creation.