Get SIP Call Logs
SIP Trunks
Get SIP Call Logs
Retrieve SIP call logs for a phone number with cursor-based pagination.
GET
Get SIP Call Logs
Documentation Index
Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Your API key for authentication.
Query Parameters
The phone number to fetch call logs for. Must be in E.164 format.
Maximum number of calls to return. Default: 50.
Cursor for pagination. Pass the
call_id of the last call from the previous page to fetch the next page.Response
Array of call records. Each includes:
call_id(string) — Unique SIP Call-IDdirection(string) —"inbound"or"outbound"from(string) — Caller numberto(string) — Callee numberstatus(string) — Final SIP status (e.g.,"200 OK","486 Busy")sip_code(number) — SIP response codeduration_seconds(number) — Call durationstarted_at(string) — ISO 8601 timestampended_at(string) — ISO 8601 timestampsource_ip(string) — Source IP address
Example Request
Docs for agents: llms.txt