✉ MailCraft API Reference

Transactional

Send email

Verified
POST/api/v1/transactional/send

Sends one message. Returns 202 { sendId }; poll Retrieve send. Email goes Queued → Sent in ~6 s.

Body Parameters

Notes

Live 2026-11-03. 202 { sendId }. Content fields are only subject (required for Email) and body (required, HTML). html, text, templateId, template are SILENTLY IGNORED (a send with only those gives 'Body is required.'). Recipient is NOT format-validated ('not-an-email' is accepted, stays Queued forever). Channel is case-insensitive on input ('email' works), numeric channel is a ProblemDetails 400. Request body of the success case: {"channel":"Email","recipient":"[email protected]","subject":"apitest: basic send","body":"<p>…</p>"}.

Errors

StatusCaseBody
400errorBody{"error": {"code": "ValidationFailed", "message": "Body is required."}}
400errorSubject{"error": {"code": "ValidationFailed", "message": "Subject is required for email sends."}}
400errorChannel{"error": {"code": "ValidationFailed", "message": "Channel must be \"Email\", \"Sms\", or \"WhatsApp\"."}}
400errorBinding{"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": {"Channel": ["The Channel field is required."], "Recipient": ["The Recipient field is required."]}, "traceId": "00-…-…-0
400errorScheduledPast{"error": {"code": "ValidationFailed", "message": "ScheduledAt must be in the future."}}
500errorScheduledNoTimezone{"error": {"code": "Unexpected", "message": "An unexpected error occurred."}}
401errorNoKey(empty)

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