ApiKeyAuth on the Authorization header.
Authentication header
Send your key in theAuthorization header:
Bearer format unless your integration already relies on the raw header value.
API key format
MailerPath API keys use themp-sk- prefix followed by a long random string.
Example format:
Example request
Get an API key
- Open Settings.
- Go to API keys.
- Create a key with a clear label.
- Enable the key for the integration that will call the API.
Security practices
- Keep API keys in a secrets manager.
- Never expose API keys in browser code.
- Use separate keys for staging and production.
- Rotate keys when access changes.
- Revoke keys that are no longer needed.
Common auth failures
401 Unauthorized: the header is missing, malformed, or uses a disabled key.403 Forbidden: the key is valid but the request is not allowed for that integration.

