API referenceTemplates
Get a template and its versions
GET
bearerAuthheader
AuthorizationBearer <token>API key sent as Authorization: Bearer <key>. Looked up by SHA-256
hash (email_core::sha256_hex) against api_keys.hash; revoked
keys and keys belonging to a suspended tenant are rejected. See the
top-level Authentication section for permission levels.
alias*stringTemplate plus every version (newest first).
application/json- response
template?versions?array<>curl -X GET "https://example.com/v1/templates/string"{ "template": { "id": "string", "alias": "string", "name": "string", "created_at": 0, "updated_at": 0 }, "versions": [ { "version": 0, "subject": "string", "html_body": "string", "text_body": "string", "active": 0, "created_at": 0 } ]}