Skip to main content
GET
/
v1
/
calls
List calls
curl --request GET \
  --url https://api.nixflex.com/v1/calls

Documentation Index

Fetch the complete documentation index at: https://docs.nixflex.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns calls for your account, newest first.

Request

curl "https://api.nixflex.com/v1/calls?limit=10" \
  -H "Authorization: Bearer KEY_ID:KEY_SECRET"

Query parameters

ParameterTypeNotes
limitintDefault 25, max 100
offsetintPagination offset
agent_idstringFilter to one agent
directionenuminbound or outbound
sinceISO dateCalls started after this time
untilISO dateCalls started before this time
caller_sentimentenumhappy, neutral, frustrated
call_successfulboolFilter by success flag
voicemail_detectedboolFilter to/from voicemail calls

Response

{
  "calls": [
    {
      "call_id": "CA1234567890",
      "agent_id": "agent_125207e452f8714a",
      "direction": "inbound",
      "from_number": "+447386172392",
      "to_number": "+447446466847",
      "started_at": "2026-05-17T03:45:12Z",
      "ended_at": "2026-05-17T03:47:38Z",
      "duration_seconds": 146,
      "ended_reason": "agent_hangup",
      "call_summary": "Caller booked a check-up...",
      "caller_sentiment": "happy",
      "call_successful": true,
      "recording_url": "https://storage.nixflex.com/recordings/CA1234567890.mp3"
    }
  ],
  "count": 1,
  "limit": 25,
  "offset": 0
}
The list response omits the full transcript for performance. Fetch a single call with Get call for the transcript.