Transactional
Send email
Verified/api/v1/transactional/sendSends one message. Returns 202 { sendId }; poll Retrieve send. Email goes Queued → Sent in ~6 s.
Body Parameters
channel"Email" | "Sms" | "WhatsApp"requiredCase-insensitive.
recipientstringrequiredAddress/number. Not format-validated.
subjectstringRequired for Email.
bodystringrequiredHTML. (
html,text,templateIdare ignored.)ccstring[]Email only.
bccstring[]Email only.
scheduledAtstringISO-8601 with offset (e.g.
Z); no offset → 500.attachments{filename,content,contentType?}[]≤10, Base64. Whole request must stay under 1 MiB.
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
| Status | Case | Body |
|---|---|---|
| 400 | errorBody | {"error": {"code": "ValidationFailed", "message": "Body is required."}} |
| 400 | errorSubject | {"error": {"code": "ValidationFailed", "message": "Subject is required for email sends."}} |
| 400 | errorChannel | {"error": {"code": "ValidationFailed", "message": "Channel must be \"Email\", \"Sms\", or \"WhatsApp\"."}} |
| 400 | errorBinding | {"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 |
| 400 | errorScheduledPast | {"error": {"code": "ValidationFailed", "message": "ScheduledAt must be in the future."}} |
| 500 | errorScheduledNoTimezone | {"error": {"code": "Unexpected", "message": "An unexpected error occurred."}} |
| 401 | errorNoKey | (empty) |
Snippets use the MailCraftApi (C#) and MailCraft (Python) helpers from Introduction → Helpers.