GET
/
whatsapp_calls
/
{id}
Get WhatsApp call details
curl --request GET \
  --url https://app.kapso.ai/api/v1/whatsapp_calls/{id} \
  --header 'X-API-Key: <api-key>'
{
  "data": {
    "id": "call-123abc",
    "project_id": "project-456def",
    "whatsapp_config_id": "config-789ghi",
    "config_display_name": "Customer Support Line",
    "config_display_phone_number": "+1234567890",
    "voice_agent_id": "agent-101jkl",
    "voice_agent_name": "Support Agent",
    "call_id": "wa-call-xyz123",
    "direction": "inbound",
    "status": "completed",
    "duration_seconds": 180,
    "started_at": "2023-11-07T05:31:56Z",
    "ended_at": "2023-11-07T05:31:56Z",
    "session_started_at": "2023-11-07T05:31:56Z",
    "user_wa_id": "1234567890",
    "whatsapp_contact_id": "contact-202mno",
    "whatsapp_conversation_id": "conversation-303pqr",
    "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

id
string<uuid>
required

Response

WhatsApp call details

data
object