curl "https://api.telzino.com/v1/sms-templates/3f2a0000-0000-0000-0000-000000000000" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"data": {
"id": "3f2a...",
"organization_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Appointment reminder",
"message_type": "sms",
"status": "active",
"body": "Hi {{caller_name|there}}, your appointment is confirmed. Reply STOP to opt out.",
"version": 3
}
}
{ "error": "not found" }
SMS Templates
Get SMS Template
Returns a single SMS template by id.
GET
/
v1
/
sms-templates
/
{templateId}
curl "https://api.telzino.com/v1/sms-templates/3f2a0000-0000-0000-0000-000000000000" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"data": {
"id": "3f2a...",
"organization_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Appointment reminder",
"message_type": "sms",
"status": "active",
"body": "Hi {{caller_name|there}}, your appointment is confirmed. Reply STOP to opt out.",
"version": 3
}
}
{ "error": "not found" }
Path Parameters
string
required
The template’s UUID. Must belong to one of the account’s organizations, else
404. A value
that is not a UUID at all is rejected earlier, with 400 invalid templateId.curl "https://api.telzino.com/v1/sms-templates/3f2a0000-0000-0000-0000-000000000000" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"data": {
"id": "3f2a...",
"organization_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Appointment reminder",
"message_type": "sms",
"status": "active",
"body": "Hi {{caller_name|there}}, your appointment is confirmed. Reply STOP to opt out.",
"version": 3
}
}
{ "error": "not found" }
