REST API
Send transactional email, manage sender addresses, and read inbound messages over protected API endpoints.

For developers
Use one platform to receive email as structured data, send transactional messages, and connect events back to your application.
REST API · HTTPS · JSON
Send from your server with a protected API key. This example shows the outbound email endpoint; use the API documentation for the current request and response fields.
Explore the API referencecurl https://api.mailafrica.online/api/outbound/emails \
-H "Authorization: Bearer $MAILAFRICA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": ["customer@example.com"],
"subject": "Your receipt is ready",
"text_body": "Thank you for your purchase."
}'Tools for the full workflow
Send transactional email, manage sender addresses, and read inbound messages over protected API endpoints.
Receive signed inbound event notifications and inspect delivery history when your application needs to recover.
Authenticate server-side requests with an API key. Keep secrets out of browser code and public repositories.
Capture messages from your test environment without sending them to real recipients.
Safe testing
MailAfrica's sandbox SMTP listener captures test mail for inspection. Sandbox messages do not go out to the real internet.
Create an account, read the API docs, and connect your first email workflow.
Get started