Syndai Docs

Get agent call

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/coding/agent-calls/{call_id}

A phone call an agent placed: its stage (dialing, menu, on hold, talking, done), since when, and its result once it ended. Owners and admins.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

call_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
id*string
Formatuuid
result?string|null
stage*string
Value in"dialing""menu""on_hold""talking""done""failed"
stage_at*string
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/coding/agent-calls/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "result": "string",  "stage": "dialing",  "stage_at": "string"}
Was this page helpful?