Send bulk email
Send marketing emails and newsletters through the bulk stream optimized for high-volume sending.
Use cases:
Marketing campaigns
Newsletters
Announcements
Promotional emails
post
Authorizations
Api-TokenstringRequired
API token in Api-Token header
Body
or
or
or
Responses
200
Bulk email successfully sent
application/json
successbooleanOptionalExample:
truemessage_idsstring[]OptionalExample:
Message IDs (one per recipient)
0c7fd939-02cf-11ed-88c2-0a58a9feac02400
Bad request. Fix errors listed in response before retrying.
application/json
401
Unauthorized. Check your API credentials.
application/json
403
Forbidden. Verify domain or check permissions.
application/json
500
Internal server error. Retry later or contact support.
application/json
post/api/send
curl -X POST https://bulk.api.mailtrap.io/api/send \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"from": {"email": "marketing@example.com"},
"to": [{"email": "subscriber@example.com"}],
"subject": "Monthly Newsletter",
"html": "<h1>Our Latest Updates</h1>",
"category": "newsletter"
}'
{
"success": true,
"message_ids": [
"0c7fd939-02cf-11ed-88c2-0a58a9feac02"
]
}Last updated
Was this helpful?

