Send approved WhatsApp templates through customer-owned Meta credentials or Convovera managed delivery.
Create a token under WhatsApp Messaging API. Include it with every request:
Authorization: Bearer cv_live_your_token Accept: application/json Content-Type: application/json
Tokens are workspace-scoped. Subscription and template-category permissions are enforced on every request.
GET https://convovera.com/api/v1/templates
curl 'https://convovera.com/api/v1/templates' -H 'Authorization: Bearer cv_live_your_token' -H 'Accept: application/json'
POST https://convovera.com/api/v1/templates
The template is saved in Convovera and submitted to Meta. Its status is normally PENDING until Meta approves or rejects it.
curl -X POST 'https://convovera.com/api/v1/templates' \
-H 'Authorization: Bearer cv_live_your_token' \
-H 'Content-Type: application/json' \
-d '{"name":"order_update","language":"en_US","category":"UTILITY","body":"Hello 1, order 2 is ready.","sample_values":["Asha","ORD-1001"]}'POST https://convovera.com/api/v1/messages/template
| Field | Required | Description |
|---|---|---|
to | Yes | Country-code phone number using digits only. |
template | Yes | Local approved template name. |
language | No | Defaults to en_US. |
parameters | No | Ordered values for template body variables. |
curl -X POST 'https://convovera.com/api/v1/messages/template' -H 'Authorization: Bearer cv_live_your_token' -H 'Content-Type: application/json' -d '{"to":"919876543210","template":"order_update","language":"en_US","parameters":["Asha","ORD-1001"]}'{
"success": true,
"http_status": 200,
"provider_mode": "platform",
"billing_status": "charged",
"message_id": 125,
"whatsapp_message_id": "wamid...",
"charge": {"amount": 0.5000, "currency": "INR", "wallet_transaction_id": 91, "message_charge_id": 87, "wallet_balance_after": 249.5000}
}GET https://convovera.com/api/v1/usage
The response includes charged messages, total charges, currency, and current wallet balance.
curl 'https://convovera.com/api/v1/usage' -H 'Authorization: Bearer cv_live_your_token' -H 'Accept: application/json'
| HTTP | Meaning |
|---|---|
| 401 | Missing, invalid, or revoked token. |
| 402 | Insufficient wallet balance for managed delivery. |
| 403 | Subscription or template-category permission unavailable. |
| 404 | Approved template not found. |
| 422 | Validation or provider configuration error. |
| 502 | Meta could not be reached. |