Templates
Read your reusable email templates.
Read your saved email templates (name + body).
Template endpoints require a Full access key.
List templates
GET
/v1/templatesfull accessbash
curl https://mailer123.com/api/v1/templates \
-H "Authorization: Bearer m123_your_api_key"Retrieve a template
GET
/v1/templates/{id}full accessFetch one template by id, or 404 not_found if it doesn't exist. Use the
returned body as the html when sending via the
Emails endpoint.
json
{ "data": { "id": "...", "name": "Welcome", "body": "<h1>Hi {{name|there}}</h1>", "status": "published" } }