Get call permission state
curl --request GET \
--url https://api.kapso.ai/meta/whatsapp/{phone_number_id}/call_permissions \
--header 'X-API-Key: <api-key>'
{
"messaging_product": "whatsapp",
"permission": {
"status": "temporary",
"expiration_time": 1745343479
},
"actions": [
{
"action_name": "send_call_permission_request",
"can_perform_action": true,
"limits": [
{
"time_period": "PT24H",
"max_allowed": 1,
"current_usage": 0
},
{
"time_period": "P7D",
"max_allowed": 2,
"current_usage": 1
}
]
},
{
"action_name": "start_call",
"can_perform_action": false,
"limits": [
{
"time_period": "PT24H",
"max_allowed": 5,
"current_usage": 5,
"limit_expiration_time": 1745622600
}
]
}
]
}