Retrieve an SMS template
GET/api/v1/sms/templates/{id}
GET /sms/templates/{id}
curl -X GET 'https://www.unitpost.com/api/v1/sms/templates/tmpl_123' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'User-Agent: my-app/1.0'Response · 200
{
"object": "sms_template",
"id": "id_123",
"name": "Example",
"body": "string",
"status": "draft",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}Retrieve a single SMS template, including its body. An email template id returns 404 here. Requires the templates:read capability.
Parameters1 field
| Field | Type | Description |
|---|---|---|
idrequired | string · path | — |
Response · 200 fields7 fields
| Field | Type | Description |
|---|---|---|
objectrequired | string | — |
idrequired | string | — |
namerequired | string | — |
bodyrequired | string | — |
statusrequired | enumdraft | published | — |
created_atrequired | string | — |
updated_atrequired | string | — |
200401403404