cURL
curl --request GET \ --url https://api.getstrada.com/api/agents/{agentId}/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>" } }
Retrieve a list of calls for the specified agent with optional filters
API Key authentication
ID of the agent to list calls for
Show child attributes
Successfully retrieved calls
Was this page helpful?