AtServiceTech

EMAIL API · GUIDE

Email API key and authorization

Authenticate Email API requests with the workspace Simple Authorization Key. Keep this credential on your server and out of public or client-side code.

Get and protect your API key

A Simple Authorization Key is generated automatically at registration. Existing workspaces can open Account Settings → Simple Authorization Key to generate one. The full key is shown once; regenerate it if lost or exposed.

The key is stored as a one-way hash, with an encrypted copy retained so it can be viewed in Account Settings. Regenerating the key immediately invalidates the previous key. API access can also be temporarily disabled from Account Settings.

Requests still require an active Email API subscription for the sender domain. The same account key works with each active domain subscription.

  • Store the key in a server-side secret manager or environment configuration.
  • Never place the key in browser code, mobile apps, source control, or public repositories.
  • Revoke or regenerate credentials if they are exposed.
Example
Authorization: Bearer <YOUR_SIMPLE_AUTHORIZATION_KEY>
Content-Type: application/json