Authentication
Authenticate requests with your Esendex API key
The Esendex API authenticates every request with an API key passed in the X-API-Key header. Requests without a valid key are rejected.
Keep your API key secret. Don’t embed it in client-side code or commit it to source control — load it from an environment variable or a secrets manager instead.
Account reference
Many endpoints operate on a specific account and take an AccountReference header (or an accountReference body field when sending messages). Use the account reference shown in your Esendex account for the account you want to send from, bill against or query.
Try it in the API Explorer
Every endpoint in the API Reference has a Try it button. Enter your API key once and it’s reused across endpoints for the rest of your session.