Returns WhatsApp call permission and eligibility status for a customer.
Endpoint
GET /whatsapp/call/call-permissions
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
wabaNumber | string | Yes | WhatsApp Business number |
customerId | string | Yes | Customer ID |
client | string | No | Client identifier |
version | string | No | Client version |
Example: Eligible and Allowed
{
"isBlocked": false,
"isEligible": { "allowed": true, "reason": "" },
"startCall": {
"allowed": true,
"maxAllowed": 100,
"currentUsage": 3
},
"callPermissionRequest": {
"allowed": true,
"numberOfRequestLeftForToday": 1,
"allowedRequestLeftForWeek": 2,
"totalRequestLimit": 2
}
}
Example: Not Eligible
{
"isEligible": {
"allowed": false,
"reason": "PROVIDER_NOT_SUPPORTED"
}
}
Example : Customer is Blocked
{
"isBlocked": true
}
