Authorizations
API key required for all endpoints
Path Parameters
Response
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"
}
}
Returns details for a specific WhatsApp call
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"
}
}
API key required for all endpoints
WhatsApp call details
Show child attributes
Was this page helpful?