Retrieve an SMS template

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
FieldTypeDescription
idrequiredstring · path—
Response · 200 fields7 fields
FieldTypeDescription
objectrequiredstring—
idrequiredstring—
namerequiredstring—
bodyrequiredstring—
statusrequiredenumdraft | published—
created_atrequiredstring—
updated_atrequiredstring—
200401403404

Search docs and guides

Search the docs and product guides.