Get templates list

Retrieves a paginated list of message templates for the authenticated customer. Supports filtering by status, category, and search term.

GET
/v3/templates

Query Parameters

page*integer

Page number (1-indexed)

Formatint32
page_size*integer

Number of items per page

Formatint32
search?|

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.

Header Parameters

x-profile-id?string

Profile 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.

Formatuuid

Response Body

Templates retrieved successfully

application/json
  1. response

Standard API response envelope for all v3 endpoints

success?boolean

Indicates whether the request was successful

data?|null

The response data (null if error)

error?|null

Error details (null if successful)

meta?

Metadata about the request and response

Example Request
curl -X GET 'https://api.sent.dm/v3/templates?page=1&page_size=20&search=welcome&status=APPROVED'
Example Response
{  "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"  }}