Limited offer - Shared hosting offer ends in 12:47:14 Grab it
Knowledge Base / Email & Deliverability / Mail API keys for developers
Email & Deliverability

Mail API keys for developers

Use the EpicHostly mail API to send email from your applications.

EpicHostly exposes a mail API that developers can use to send transactional email from their applications.

How to create an API key

  1. Sign in to your account with an admin account.
  2. Open the mail API keys section under Mail.
  3. Create a new key.
  4. Copy the key immediately, it is shown only once.

How to use the key

Send your request to the mail API endpoint with the key in the Authorization header. Use the appropriate scope for the operation.

Good practices

Store the key in a secret manager, never in client-side code. Rotate keys periodically. Revoke keys you no longer use. Watch the API rate limits and stay under them.

If you hit rate limits, see the article on HTTP 429 errors.

Was this article helpful?

Your feedback helps us improve our documentation.

Share more detail

Tell us what was unclear so we can improve this article.

Back to Email & Deliverability