Skip to content
MailerOwl
Menu

Batch sending

POST https://api.mailerowl.com/v1/emails/batch

{"emails": [
  {"from": "hello@example.com", "to": ["a@x.com"], "subject": "Hi A", "text": "…"},
  {"from": "hello@example.com", "to": ["b@x.com"], "subject": "Hi B", "text": "…"}
]}

Up to 500 messages per request. Each item is validated independently. The response is 202 with one result per item, in order:

{"data": [
  {"id": "msg_…", "status": "queued"},
  {"error": {"code": "validation_error", "message": "subject is required", "param": "subject"}}
]}

Partial success is normal: check each item.