GET
/
calls
List Calls
curl --request GET \
  --url https://api.prod.usesimple.ai/api/v1/calls \
  --header 'Authorization: <api-key>'
{
  "calls": [
    {
      "id": 123,
      "simple_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "record": true,
      "language": "en",
      "from_number": "<string>",
      "to_number": "<string>",
      "status": "<string>",
      "transferred": true,
      "direction": "<string>",
      "tags": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "description": "<string>",
          "color": "<string>"
        }
      ],
      "voice_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "background_noise": "<string>",
      "agent_speaks_first": true,
      "started_at": "2023-11-07T05:31:56Z",
      "ended_at": "2023-11-07T05:31:56Z",
      "duration": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "external_identifiers": {},
      "params": {},
      "prompt": {
        "prompt_text": "<string>",
        "created_at": "2023-11-07T05:31:56Z"
      },
      "transcripts": [
        {
          "text": "<string>",
          "role": "<string>",
          "timestamp": "2023-11-07T05:31:56Z",
          "function_name": "<string>",
          "arguments": {}
        }
      ],
      "recording_presigned_url": "<string>",
      "call_prompt": "<string>",
      "answered_by": "voicemail",
      "analyzers": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "prompt": "<string>",
          "output_config": {
            "type": "string",
            "properties": {}
          }
        }
      ],
      "analysis_results": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "analyzer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "prompt": "<string>",
          "output_config": {},
          "result": {}
        }
      ],
      "summary": {}
    }
  ],
  "total_count": 123,
  "page": 123,
  "page_size": 123,
  "total_pages": 123,
  "filters": {
    "status": "<string>",
    "transferred": true,
    "created_at_gte": "2023-11-07T05:31:56Z",
    "created_at_lte": "2023-11-07T05:31:56Z"
  },
  "sorting": {
    "sort_by": "<string>",
    "sort_direction": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Query Parameters

page
integer | null
default:1
page_size
integer | null
default:20
status
string

Filter by call status. Multiple values can be provided separated by commas.

transferred
boolean

Filter by whether the call was transferred

created_at_gte
string<date-time>

Filter calls created at or after this datetime (ISO 8601 format)

created_at_lte
string<date-time>

Filter calls created at or before this datetime (ISO 8601 format)

sort_by
enum<string>
default:created_at

Field to sort results by

Available options:
created_at,
updated_at,
started_at,
ended_at,
duration,
status
sort_direction
enum<string>
default:desc

Sort direction

Available options:
asc,
desc

Response

200
application/json

Successful Response

The response is of type object.