Skip to main content
GET
/
v1
/
calls
/
cursor
List calls (cursor pagination)
curl --request GET \
  --url https://api.oneinbox.ai/v1/calls/cursor \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "agent_id": "<string>",
      "type": "<string>",
      "status": "<string>",
      "from_number": "<string>",
      "to_number": "<string>",
      "room_name": "<string>",
      "direction": "<string>",
      "scheduled_at": "2023-11-07T05:31:56Z",
      "variables": {},
      "started_at": "2023-11-07T05:31:56Z",
      "ended_at": "2023-11-07T05:31:56Z",
      "duration_seconds": 123,
      "end_reason": "<string>",
      "transcript": "<string>",
      "messages": [
        "<unknown>"
      ],
      "recording_url": "<string>",
      "analysis": {},
      "latency": {},
      "cost_cents": 123,
      "metadata": {},
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "twilio_call_sid": "<string>",
      "outcome": "<string>",
      "ai_summary": "<string>",
      "credits_used": 123
    }
  ],
  "next_cursor": "<string>",
  "has_more": true,
  "limit": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

agent_id
string<uuid> | null
status
string | null
limit
integer
default:20
Required range: 1 <= x <= 100
cursor
string | null

Opaque next_cursor from a prior page

Response

Successful Response

items
CallResponse · object[]
required
next_cursor
string | null
required
has_more
boolean
required
limit
integer
required