GET
/
calls
curl --request GET \
  --url https://app.happyrobot.ai/api/v1/calls \
  --header 'authorization: <authorization>'
{
  "calls": [
    {
      "id": "<string>",
      "organization_id": "<string>",
      "type": "Inbound",
      "status": "Dialing",
      "provider": "Twilio",
      "metadata": {
        "call_sid": "<string>",
        "aux_sid": "<string>",
        "from": "<string>",
        "to": "<string>",
        "recording_sid": "<string>",
        "pipeline_id": "<string>",
        "tags": [
          "<string>"
        ]
      },
      "assistant": {
        "id": "<string>",
        "name": "<string>",
        "model": "<string>"
      },
      "hooks": [
        "<string>"
      ],
      "params": {},
      "questions": [
        {
          "question": "<string>",
          "answer": "<string>"
        }
      ],
      "created": "<string>",
      "started": "<string>",
      "duration": 123,
      "viewed_by": [
        "<string>"
      ],
      "samples": [
        "<string>"
      ]
    }
  ],
  "count": 12993,
  "currentPage": 3
}

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Query Parameters

type
enum<string>

Filter by call type

Available options:
Inbound,
Outbound
Example:

"Inbound"

limit
string

Limit the number of calls returned

skip
string

Skip the first N calls

filterText
string

Filter by text in the call

filterDate
string

Filter by date

callId
string

Calculate current page if callId is provided

Response

200
application/json
200
calls
object[]
required
count
number
required

Total number of calls

Example:

12993

currentPage
number

Current page number

Example:

3