API referenceTemplates

List templates

GET
/v1/templates

Returns the tenant's full set of templates, newest first. Not paginated.

Authorization

bearerAuth
headerAuthorizationBearer <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.

Response Body

Template list.

application/json
  1. response
data?array<>
curl -X GET "https://example.com/v1/templates"
{  "data": [    {      "id": "string",      "alias": "string",      "name": "string",      "created_at": 0,      "updated_at": 0    }  ]}