Get template by ID
Retrieves a specific template by its ID. Returns template details including name, category, language, status, and definition.
id*stringTemplate ID from route parameter
uuidx-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.
uuidTemplate 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/7ba7b820-9dad-11d1-80b4-00c04fd430c8'{ "success": true, "data": { "id": "7ba7b820-9dad-11d1-80b4-00c04fd430c8", "customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "Welcome Message", "category": "MARKETING", "auto_reply_action": null, "language": "en_US", "status": "APPROVED", "channels": [ "sms", "whatsapp", "rcs" ], "variables": [ "name", "company" ], "created_at": "2026-10-13T15:32:26.4992695+00:00", "updated_at": "2026-10-28T15:32:26.4992701+00:00", "is_published": true }, "error": null, "meta": { "request_id": "req_7X9zKp2jDw", "timestamp": "2026-11-12T15:32:26.4992705+00:00", "version": "v3" }}Get templates list GET
Retrieves a paginated list of message templates for the authenticated customer. Supports filtering by status, category, and search term.
Create a new template POST
Creates a new message template with header, body, footer, and buttons. The template can be submitted for review immediately or saved as draft for later submission. There is no `name` field on create — the display name is derived from the template's content and can be changed afterwards with `PUT /v3/templates/{id}`.