List templates
Get a paginated list of email templates.
This endpoint uses offset pagination (page / pageSize), not the cursor pagination used by GET /contacts.
ApiKeyAuthAuthorizationBearer <API Key>API Key authentication. The project is automatically derived from the key.
/v1/track requires a public key (pk_*) — it is the one endpoint intended for client-side use, and a secret key is rejected there with 401.
Every other endpoint requires a secret key (sk_*) and rejects public keys with 401.
So the two key types are not interchangeable in either direction: pick the key that matches the endpoint you are calling.
page?integer1-based page number.
1 <= value1pageSize?integerItems per page.
1 <= value20type?stringFilter by template type.
"TRANSACTIONAL""MARKETING""HEADLESS"search?stringCase-insensitive match on name, description, or subject.
sort?stringColumn to sort by. Unrecognised values fall back to createdAt.
"createdAt""name""createdAt""updatedAt"dir?stringSort direction. Unrecognised values fall back to the default.
"desc""asc""desc"List of templates
application/json- response
data?array<>total?integerTotal templates matching the filters, across all pages.
page?integerpageSize?integertotalPages?integercurl -X GET 'https://api.send.47signals.com/templates'{ "data": [ { "id": "string", "name": "string", "description": "string", "subject": "string", "body": "string", "from": "user@example.com", "fromName": "string", "replyTo": "user@example.com", "type": "TRANSACTIONAL", "projectId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "total": 0, "page": 0, "pageSize": 0, "totalPages": 0}