✉ MailCraft API Reference

Templates

Replace template

Session only · not verified
PUT/api/v1/templates/{id|alias}

Full replace. Requires a dashboard session (API key → 403). Body and response not yet verified (never captured).

Path Parameters

Body Parameters

Notes

NOT observed live (API key -> 403; no Postman sample supplied). successAssumed is the create response with a changed subject; the PUT body is ASSUMED to be the create body (verify live). Q1: treat as a full replace.

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.