Retrieve a template
Returns one template as stored on your account, including the content you submitted. For the latest approval state from the RCS platform, call GET /senders/{senderId}/templates/{templateName}/status.
curl --request GET \
--url https://api.vobiz.ai/api/v1/sms/senders/{senderId}/templates/{templateName} \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.rcs_senders.get_template(
sender_id="5d7f9b1c-3e5a-4c7e-9f1b-3d5f7a9c1e3b",
template_name="appointment_reminder",
)
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/sms/senders/{senderId}/templates/{templateName}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "c2e4a6b8-1d3f-4a5c-9e7b-6f8d0a2c4e61",
"senderId": "7a1c3e5f-9b2d-4c6e-8f0a-1b3d5e7f9a21",
"accountId": "MA_XXXXXXXX",
"provider": "YOUR_ROUTING_IDENTIFIER",
"templateName": "order-shipped",
"type": "TEXT",
"status": "pending",
"content": {
"text": "Your order {{orderId}} has shipped and arrives on {{eta}}."
},
"createdAt": "2026-10-12T10:30:00Z",
"updatedAt": "2026-10-12T10:30:00Z"
}Authorizations
Your Vobiz account Auth ID (MA_XXXXXXXX).
Your Vobiz account Auth Token.
Path Parameters
The id (UUID) of the RCS sender that owns the templates. An unknown sender returns sender not found.
The template's templateName, exactly as you set it when you created the template on this sender.
Response
The template.
A message template registered on an RCS sender, with the approval status reported by the RCS platform.
Unique identifier of the template on Vobiz (UUID). Template endpoints address templates by templateName instead.
"c2e4a6b8-1d3f-4a5c-9e7b-6f8d0a2c4e61"
The id of the RCS sender the template belongs to.
"7a1c3e5f-9b2d-4c6e-8f0a-1b3d5e7f9a21"
Your Vobiz account ID (MA_...) that owns the template.
"MA_XXXXXXXX"
Internal routing identifier; do not rely on its value.
"YOUR_ROUTING_IDENTIFIER"
Unique name of the template on its sender. Used in the path of every template endpoint.
"order-shipped"
Template type as defined by the RCS platform.
Approval status reported by the RCS platform, stored on your account. pending until the platform reports otherwise. Call GET /senders/{senderId}/templates/{templateName}/status to refresh it.
"pending"
The template content exactly as you submitted it.
When the template was created on your account (ISO 8601, UTC).
"2026-10-12T10:30:00Z"
When the template last changed, including status refreshes (ISO 8601, UTC).
"2026-10-12T10:30:00Z"
Was this page helpful?
curl --request GET \
--url https://api.vobiz.ai/api/v1/sms/senders/{senderId}/templates/{templateName} \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.rcs_senders.get_template(
sender_id="5d7f9b1c-3e5a-4c7e-9f1b-3d5f7a9c1e3b",
template_name="appointment_reminder",
)
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/sms/senders/{senderId}/templates/{templateName}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "c2e4a6b8-1d3f-4a5c-9e7b-6f8d0a2c4e61",
"senderId": "7a1c3e5f-9b2d-4c6e-8f0a-1b3d5e7f9a21",
"accountId": "MA_XXXXXXXX",
"provider": "YOUR_ROUTING_IDENTIFIER",
"templateName": "order-shipped",
"type": "TEXT",
"status": "pending",
"content": {
"text": "Your order {{orderId}} has shipped and arrives on {{eta}}."
},
"createdAt": "2026-10-12T10:30:00Z",
"updatedAt": "2026-10-12T10:30:00Z"
}