RCS Senders
Create a template
Registers a message template on an RCS sender with the RCS platform and returns it with status pending.
POST
/
api
/
v1
/
Account
/
{auth_id}
/
Sms
/
Sender
/
{senderId}
/
Template
/
cURL
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Sender/{senderId}/Template/ \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"templateName": "order-shipped",
"type": "TEXT",
"content": {
"text": "Your order {{orderId}} has shipped and arrives on {{eta}}."
}
}
'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.rcs_senders.create_template(
sender_id="5d7f9b1c-3e5a-4c7e-9f1b-3d5f7a9c1e3b",
template_name="order-shipped",
type="TEXT",
content={
"text": "Your order {{orderId}} has shipped and arrives on {{eta}}."
},
)
const options = {
method: 'POST',
headers: {
'X-Auth-ID': '<api-key>',
'X-Auth-Token': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
templateName: 'order-shipped',
type: 'TEXT',
content: {text: 'Your order {{orderId}} has shipped and arrives on {{eta}}.'}
})
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Sender/{senderId}/Template/', 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": "internal",
"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
Path Parameters
Body
application/json
A message template to register on an RCS sender. All three fields are required and are passed to the RCS platform unchanged.
Response
The new template in status pending.
A message template registered on an RCS sender, with the approval status reported by the RCS platform.
Was this page helpful?
⌘I
cURL
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Sender/{senderId}/Template/ \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"templateName": "order-shipped",
"type": "TEXT",
"content": {
"text": "Your order {{orderId}} has shipped and arrives on {{eta}}."
}
}
'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.rcs_senders.create_template(
sender_id="5d7f9b1c-3e5a-4c7e-9f1b-3d5f7a9c1e3b",
template_name="order-shipped",
type="TEXT",
content={
"text": "Your order {{orderId}} has shipped and arrives on {{eta}}."
},
)
const options = {
method: 'POST',
headers: {
'X-Auth-ID': '<api-key>',
'X-Auth-Token': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
templateName: 'order-shipped',
type: 'TEXT',
content: {text: 'Your order {{orderId}} has shipped and arrives on {{eta}}.'}
})
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Sender/{senderId}/Template/', 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": "internal",
"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"
}