Template details (with version history)
Template details (with version history) with the Mailly email API for AI agents: GET /templates/{templateKey}. Parameters, request body, responses and code samples.
GET
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
templateKey*stringtemplate stable key
Template details
application/json- response
success*booleantemplate*versions*array<>[key: string]?unknowncurl -X GET 'https://api.mailly.site/templates/string'{ "success": true, "template": { "property1": null, "property2": null }, "versions": [ { "property1": null, "property2": null } ], "property1": null, "property2": null}Send a template test POST
Send a template test with the Mailly email API for AI agents: POST /templates/{templateKey}/test-send. Parameters, request body, responses and code samples.
Template list GET
Template list with the Mailly email API for AI agents: GET /templates. Parameters, request body, responses and code samples.