Manage and send WhatsApp Message Templates on Vobiz - Meta-approved message formats required for proactive business-initiated outbound messages.
curl --request GET \
--url https://api.example.com/v1/messaging/channels/{channel_id}/templatesDocumentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
X-Auth-ID, X-Auth-Token, Accept: application/json
| Category | Use case |
|---|---|
UTILITY | Transactional - orders, receipts, alerts |
MARKETING | Promotional - offers, announcements |
AUTHENTICATION | OTP and security codes only |
GET https://api.vobiz.ai/v1/messaging/channels/{channel_id}/templates
status query parameter (APPROVED, PENDING, REJECTED).
curl -X GET \
"https://api.vobiz.ai/v1/messaging/channels/{channel_id}/templates?status=APPROVED" \
-H "X-Auth-ID: {auth_id}" \
-H "X-Auth-Token: {auth_token}"
{
"data": [{
"id": "tpl_abc123",
"name": "order_confirmation",
"language": "en_US",
"category": "UTILITY",
"status": "APPROVED",
"components": [{"type":"BODY","text":"Your order {{1}} has been confirmed."}]
}]
}
POST https://api.vobiz.ai/v1/messaging/channels/{channel_id}/templates
{{1}}, {{2}} for dynamic content.
curl -X POST \
"https://api.vobiz.ai/v1/messaging/channels/{channel_id}/templates" \
-H "X-Auth-ID: {auth_id}" \
-H "X-Auth-Token: {auth_token}" \
-H "Content-Type: application/json" \
-d '{"name":"order_confirmation","language":"en_US","category":"UTILITY","components":[{"type":"BODY","text":"Your order {{1}} has been confirmed. Delivery: {{2}}","example":{"body_text":[["ORD-12345","March 15"]]}}]}'
POST https://api.vobiz.ai/v1/messaging/channels/{channel_id}/templates/sync
curl -X POST \
"https://api.vobiz.ai/v1/messaging/channels/{channel_id}/templates/sync" \
-H "X-Auth-ID: {auth_id}" \
-H "X-Auth-Token: {auth_token}"
type: "template".
curl -X POST \
"https://api.vobiz.ai/v1/messaging/messages" \
-H "X-Auth-ID: {auth_id}" \
-H "X-Auth-Token: {auth_token}" \
-H "Content-Type: application/json" \
-d '{
"channel_id": "{channel_id}",
"waba_id": "{waba_id}",
"to": "919876543210",
"type": "template",
"template": {
"name": "order_confirmation",
"language": {"code": "en_US"},
"category": "UTILITY",
"components": [{
"type": "body",
"parameters": [
{"type": "text", "text": "ORD-12345"},
{"type": "text", "text": "March 15"}
]
}]
}
}'
Was this page helpful?
curl --request GET \
--url https://api.example.com/v1/messaging/channels/{channel_id}/templates