✉ MailCraft API Reference

Templates

Delete template

Session only
DELETE/api/v1/templates/{id|alias}

Requires a dashboard session (API key → 403). 204.

Path Parameters

Notes

Verified 2026-11-02 in Postman with a dashboard session by alias (API key -> 403): 204 No Content, empty body. Unknown id / starter errors are ASSUMED (verify live).

Errors

StatusCaseBody
403errorApiKey{"error": {"code": "Forbidden", "message": "You do not have permission to perform this action."}}
403errorStarter{"error": {"code": "Forbidden", "message": "Starter templates cannot be modified. Duplicate it first."}}

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