Get agent call
Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.
GET
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.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
call_id*stringFormat
uuidRequest fulfilled, document follows
application/json- response
id*stringFormat
uuidresult?string|nullstage*stringValue in
"dialing""menu""on_hold""talking""done""failed"stage_at*stringcurl -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"}