Calls

List all calls

Retrieve a paginated list of all calls in your organization

GET
/calls
Authorization<token>

API key in the format: Bearer YOUR_API_KEY

In: header

Query Parameters

limit?integer

Maximum number of results to return (max 100)

Default50
Range1 <= value <= 100
offset?integer

Number of results to skip

Default0
Range0 <= value

Response Body

application/json

curl -X GET "https://api.chorus-ai.co/v1/calls"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
      "agentId": "bc309ecf-5f66-4057-93c5-6611cc9cb7b2",
      "phoneNumberId": "8e9ce3fb-4d22-4fe3-baa7-b7892dd942d7",
      "callSid": "string",
      "provider": "string",
      "direction": "inbound",
      "status": "string",
      "customerNumber": "string",
      "durationSeconds": 0,
      "cost": 0,
      "recordingUrl": "string",
      "turnCount": 0,
      "transcript": [
        {
          "role": "user",
          "content": "string"
        }
      ],
      "analysis": {
        "summary": "string",
        "extractions": {}
      },
      "endedReason": "string",
      "contextVariables": {},
      "metadata": {},
      "parentCallId": "429ac6c7-ec5a-4ab0-83cf-f52248dbb28d",
      "transferType": "warm_briefing",
      "transferStatus": "initiated",
      "transferCalls": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "transferType": "warm_briefing",
          "transferStatus": "initiated",
          "durationSeconds": 0,
          "customerNumber": "string",
          "recordingUrl": "string",
          "transcript": [
            {
              "role": "user",
              "content": "string"
            }
          ],
          "startedAt": "2019-08-24T14:15:22Z",
          "endedAt": "2019-08-24T14:15:22Z",
          "cost": 0,
          "status": "string"
        }
      ],
      "startedAt": "2019-08-24T14:15:22Z",
      "endedAt": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ],
  "pagination": {
    "total": 0,
    "limit": 0,
    "offset": 0
  }
}

Last updated on