GET
/
whatsapp_contacts
/
{identifier}
/
call_permissions
/
{whatsapp_config_id}
Get specific call permission
curl --request GET \
  --url https://app.kapso.ai/api/v1/whatsapp_contacts/{identifier}/call_permissions/{whatsapp_config_id} \
  --header 'X-API-Key: <api-key>'
{
"data": {
"id": "permission-123abc",
"whatsapp_contact_id": "contact-456def",
"whatsapp_config_id": "config-789ghi",
"config_display_name": "Customer Support Line",
"status": "accepted",
"source": "api",
"expires_at": "2023-11-07T05:31:56Z",
"last_event_message_id": "<string>",
"last_event_at": "2023-11-07T05:31:56Z",
"allowed": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}

Authorizations

X-API-Key
string
header
required

API key required for all endpoints

Path Parameters

identifier
string
required

Contact UUID or phone number (will be normalized)

whatsapp_config_id
string<uuid>
required

WhatsApp configuration ID

Response

Call permission details

data
object