GET
/
whatsapp_contacts
/
{identifier}
/
call_permissions
List call permissions for a WhatsApp contact
curl --request GET \
  --url https://app.kapso.ai/api/v1/whatsapp_contacts/{identifier}/call_permissions \
  --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)

Response

A list of call permissions

data
object[]