✉ MailCraft API Reference

Transactional

Send batch

Verified
POST/api/v1/transactional/send/batch

Up to 100 sends. Body is an object { items: [...] } (a bare array is 400). 202 with one { sendId, error } per input index.

Body Parameters

Notes

Live 2026-11-03. DOCS DIFFER: the body is an OBJECT { "items": [ ...send bodies ] }, not a bare array (a bare array is a ProblemDetails 400). Response is 202 with a bare array, one entry per input, SAME INDEX: { sendId, error } with the other one null; error is a plain STRING. Semantic errors (missing body/subject) are per item; model-binding errors (missing channel/recipient) fail the WHOLE request with a ProblemDetails 400. Max 100 items (101 -> 400). Items needed channel, recipient, subject, body like a single send.

Errors

StatusCaseBody
400errorTooMany{"error": {"code": "ValidationFailed", "message": "A batch cannot exceed 100 items."}}
400errorEmpty{"error": {"code": "ValidationFailed", "message": "At least one item is required."}}
400errorMissingItems{"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": {"Items": ["The Items field is required."]}, "traceId": "00-…-…-00"}
400errorBareArray{"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": {"$": ["The JSON value could not be converted to MailchimpClone.Web.Controllers.Api.V1.Transactional.SendTransactionalBa
400errorItemBinding{"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": {"Items[0].Recipient": ["The Recipient field is required."], "Items[1].Channel": ["The Channel field is required."]}, "t

Snippets use the MailCraftApi (C#) and MailCraft (Python) helpers from Introduction → Helpers.