GET
/
api
/
v1
/
contacts
/
{id}
/
calls
curl https://api.ravan.ai/api/v1/contacts/019d3a2b-5c6d-7e8f-9a0b-1c2d3e4f5a6b/calls \
  -H "X-Api-Key: YOUR_API_KEY"
{
  "success": true, "message": "Calls fetched successfully",
  "data": [
    { "call_session_id": "019d2b3c-8e9f-7a0b-1c2d-4e5f6a7b8c9d", "agent_name": "Sales Agent", "channel": "voice", "status": "completed", "duration_sec": 125, "sentiment": "positive", "started_at": "2026-03-22T10:30:00Z" }
  ]
}

Authorizations

X-Api-Key
string
required
Your Agni API key.

Path Parameters

id
string
required
UUID of the contact.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
data
object[]
Array of call session records for this contact.
curl https://api.ravan.ai/api/v1/contacts/019d3a2b-5c6d-7e8f-9a0b-1c2d3e4f5a6b/calls \
  -H "X-Api-Key: YOUR_API_KEY"
{
  "success": true, "message": "Calls fetched successfully",
  "data": [
    { "call_session_id": "019d2b3c-8e9f-7a0b-1c2d-4e5f6a7b8c9d", "agent_name": "Sales Agent", "channel": "voice", "status": "completed", "duration_sec": 125, "sentiment": "positive", "started_at": "2026-03-22T10:30:00Z" }
  ]
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Contact ID

Response

Successful response