✉ MailCraft API Reference

Templates

Duplicate template

Session only
POST/api/v1/templates/{id|alias}/duplicate

Copies into a new draft named "… (Copy)". Requires a dashboard session (API key → 403).

Path Parameters

Notes

Verified 2026-11-02 in Postman with a dashboard session (API key -> 403), duplicating a PUBLISHED template. The copy has a new id, name '<name> (Copy)', the same category/content/htmlContent/subject, isPublished false and status 'draft'. This is how a starter template is made editable (starter duplicate itself was not captured; verify live).

Errors

StatusCaseBody
403errorApiKey{"error": {"code": "Forbidden", "message": "You do not have permission to perform this action."}}

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