Skip to content

Authentication and API keys

How to send your key, the two kinds of key, and keeping them safe.

Send your API key in the Authorization header as a Bearer token. The x-api-key header is accepted too. Keys start with irs_.

Authorization: Bearer irs_xxxxxxxxx

Full access and sending only#

PermissionCan callUse it for
Full accessEvery endpointBack-office tools and scripts
Sending accessPOST /emails and POST /emails/batch onlyYour application's servers

A sending-access key can also be limited to chosen domains. Sending from any other domain then returns 401 restricted_api_key.

Creating, rotating and revoking#

  • Create keys under API Keys in the console, or with POST /api-keys. The full key is shown once.
  • Plans allow 5, 50 or 100 keys.
  • Rotate in the console creates a new key with the same settings; revoke the old one when your servers use the new one.
  • Revoking takes effect immediately. Each key's page shows when it was last used and its recent requests.
Still stuck? Write to us and we'll reply by email.Contact ussupport@iresendly.com