✉ MailCraft API Reference

Transactional

Cancel send

Verified
POST/api/v1/transactional/{sendId}/cancel

Cancels a still-pending scheduled send. 204; not pending → 409.

Path Parameters

Notes

Live 2026-11-03. 204 EMPTY body; status becomes Cancelled. Already sent / already cancelled / never scheduled -> 409 Conflict (same message as PATCH). Unknown id -> 404 NotFound.

Errors

StatusCaseBody
409errorNotPending{"error": {"code": "Conflict", "message": "This send is not currently pending — it has either already been dispatched or was never a scheduled send."}}
404errorNotFound{"error": {"code": "NotFound", "message": "Send not found."}}

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