Call Permissions

Returns WhatsApp call permission and eligibility status for a customer.

Endpoint

GET /whatsapp/call/call-permissions

Query Parameters

ParameterTypeRequiredDescription
wabaNumberstringYesWhatsApp Business number
customerIdstringYesCustomer ID
clientstringNoClient identifier
versionstringNoClient 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
}