Get templates list
Retrieves a paginated list of message templates for the authenticated customer. Supports filtering by status, category, and search term.
page*integerPage number (1-indexed)
int32page_size*integerNumber of items per page
int32search?|Optional search term for filtering templates
status?|Optional status filter: APPROVED, PENDING, REJECTED
category?|Optional category filter: MARKETING, UTILITY, AUTHENTICATION
is_welcome_playground?|Accepted and ignored. It used to filter on the welcome-playground marker inside a template's LOB details; that filter is gone and nothing reads this value, so sending it neither narrows nor widens the result. Retained only so a client still passing is_welcome_playground keeps binding instead of the request shape changing under it.
x-profile-id?stringProfile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.
uuidTemplates retrieved successfully
application/json- response
Standard API response envelope for all v3 endpoints
success?booleanIndicates whether the request was successful
data?|nullThe response data (null if error)
error?|nullError details (null if successful)
meta?Metadata about the request and response
curl -X GET 'https://api.sent.dm/v3/templates?page=1&page_size=20&search=welcome&status=APPROVED'{ "success": true, "data": { "templates": [ { "id": "7ba7b820-9dad-11d1-80b4-00c04fd430c8", "customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "Welcome Message", "slug": null, "category": "MARKETING", "auto_reply_action": null, "language": "en_US", "status": "APPROVED", "channels": [ "sms", "whatsapp", "rcs" ], "variables": [ "name", "company" ], "definition": null, "created_at": "2026-10-28T23:31:12.6210905+00:00", "updated_at": "2026-11-12T23:31:12.6210913+00:00", "is_published": true } ], "pagination": { "page": 1, "page_size": 20, "total_count": 1, "total_pages": 1, "has_more": false, "cursors": null } }, "error": null, "meta": { "request_id": "req_7X9zKp2jDw", "timestamp": "2026-11-27T23:31:12.6211161+00:00", "version": "v3" }}Template Definition
Reference for the Sent template definition JSON: header, body, footer, button, and variable fields, content rules and limits, and template statuses.
Get template by ID GET
Retrieves a specific template by its ID. Returns template details including name, category, language, status, and definition.