Archive a template
Archive a template with the Mailly email API for AI agents: POST /templates/{templateKey}/archive. Parameters, request body, responses and code samples.
POST
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
templateKey*stringtemplate stable key
Archived
application/json- response
success*booleantemplate*[key: string]?unknowncurl -X POST 'https://api.mailly.site/templates/string/archive'{ "success": true, "template": { "property1": null, "property2": null }, "property1": null, "property2": null}Templates
Email templates: endpoints of the Mailly email API for AI agents, with parameters, responses and code samples.
Create an email template (draft) POST
Create an email template (draft) with the Mailly email API for AI agents: POST /templates. Parameters, request body, responses and code samples.