List templates
Cursor-paginated list of templates, newest first. Pass the previous response's next_cursor as after to page forward; has_more is false and next_cursor is null on the last page.
search is a case-insensitive substring match on the NAME only — narrower than the dashboard's search, which also reads description and subject, because a caller that asked for a name match should not be handed rows that merely mention the word in their body.
A cursor is bound to the filters that minted it. Changing search or email_category while reusing a cursor answers 422 validation_error rather than returning a page that belongs to neither query — drop the cursor and start again from the first page.
Requires the templates:read scope — View your email templates.
AuthorizationBearer <API Key>API key authentication. Use a sk_* (FULL) or pk_* (SENDING_ONLY) key as the bearer token. Public keys (pk_*) are restricted to the email-send endpoints and the self-serve list subscribe/unsubscribe pair; every other endpoint — event tracking included — answers 403 for them. In scope terms (used by /api/v1/* operations): FULL keys hold every scope; SENDING_ONLY keys hold only emails:send.
limit?integer1 <= value <= 10020after?stringOpaque cursor from a previous response's next_cursor.
1 <= lengthsearch?stringCase-insensitive substring match on the name.
1 <= lengthemail_category?string"TRANSACTIONAL""MARKETING""SELF_MANAGED_UNSUBSCRIBE"Template list
application/json- response
Cursor-paginated list of templates.
data*array<>has_more*booleannext_cursor*|Pass as after to fetch the next page. null on the last page.
curl -X GET 'https://api.sendly.now/api/v1/templates'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "subject": "string", "body": "string", "from": "string", "from_name": "string", "reply_to": "string", "email_category": "TRANSACTIONAL", "version": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "has_more": true, "next_cursor": "string"}