Authentication
Arawa Mail public API requests use sending API keys.
Bearer Token
Use a bearer token for the Resend-compatible endpoints:
Authorization: Bearer your_api_key
Basic Auth
Use Mailgun-style basic auth for the Mailgun-compatible endpoint. The username must be api and the password must be your Arawa Mail API key:
curl -u "api:your_api_key" \
https://app.arawamail.com/v3/example.com/messages
Invalid Keys
Requests fail authentication when:
- The authorization header is missing.
- The key does not exist.
- The key has been revoked.
- The key does not have the
sendingscope.