Skip to main content
GET
/
api
/
export
/
calls
Export calls
curl --request GET \
  --url https://api.getstrada.com/api/export/calls \
  --header 'Authorization: Bearer <token>'
{
  "calls": [
    {
      "callId": "<string>",
      "agentId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "status": "queued",
      "type": "inboundPhoneCall",
      "campaignName": "<string>",
      "startedAt": "2023-11-07T05:31:56Z",
      "recordingUrl": "<string>",
      "endedAt": "2023-11-07T05:31:56Z",
      "endedBy": "Agent ended the call",
      "customerNumber": "<string>",
      "endedReason": "<string>",
      "summary": "<string>",
      "analysis": {},
      "transcript": [
        {
          "role": "bot",
          "message": "<string>",
          "secondsFromStart": 123,
          "time": "<string>",
          "endTime": "<string>",
          "duration": 123,
          "name": "<string>",
          "result": {},
          "toolCall": {}
        }
      ],
      "url": "<string>",
      "callVariables": {},
      "phoneNumber": "<string>",
      "campaignParentCallIds": [
        "<string>"
      ],
      "transferDestination": "<string>"
    }
  ],
  "metadata": {
    "nextPage": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication

Query Parameters

agentId
string[]

Filter by agent IDs (can pass multiple times)

campaignName
string[]
endedReason
string[]
customerNumber
string[]
createdAtGt
string<date-time>
createdAtLt
string<date-time>
pageSize
integer
default:10000

Number of results per page (max 10000)

Required range: 1 <= x <= 10000

Response

Successfully retrieved calls

calls
object[]
metadata
object
I