curl --request GET \
--url https://prod.featherhq.com/api/v1/agent-calls/{id} \
--header 'X-API-Key: <api-key>'
{
"agentCall": {
"id": "<string>",
"organizationId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"agentVersionId": "<string>",
"agentVersionDetails": "<any>",
"agentId": "<string>",
"agentDetails": "<any>",
"mode": "AUDIO",
"fromPhoneNumber": "<string>",
"toPhoneNumber": "<string>",
"customer": {
"phoneNumber": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"leadId": "<string>",
"callEndedReason": "NO_ANSWER",
"callEndedBy": "ASSISTANT",
"callStartedAt": "2023-11-07T05:31:56Z",
"callEndedAt": "2023-11-07T05:31:56Z",
"callDuration": 123,
"recordingUrl": "<string>",
"transcript": "<string>",
"summary": "<string>",
"variables": "<any>",
"status": "PENDING",
"outbound": true,
"postCallAnalysis": "<string>",
"structuredPostCallAnalysis": {},
"leadState": "AL",
"workflowId": "<string>"
}
}
Get an agent call by ID
curl --request GET \
--url https://prod.featherhq.com/api/v1/agent-calls/{id} \
--header 'X-API-Key: <api-key>'
{
"agentCall": {
"id": "<string>",
"organizationId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"agentVersionId": "<string>",
"agentVersionDetails": "<any>",
"agentId": "<string>",
"agentDetails": "<any>",
"mode": "AUDIO",
"fromPhoneNumber": "<string>",
"toPhoneNumber": "<string>",
"customer": {
"phoneNumber": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"leadId": "<string>",
"callEndedReason": "NO_ANSWER",
"callEndedBy": "ASSISTANT",
"callStartedAt": "2023-11-07T05:31:56Z",
"callEndedAt": "2023-11-07T05:31:56Z",
"callDuration": 123,
"recordingUrl": "<string>",
"transcript": "<string>",
"summary": "<string>",
"variables": "<any>",
"status": "PENDING",
"outbound": true,
"postCallAnalysis": "<string>",
"structuredPostCallAnalysis": {},
"leadState": "AL",
"workflowId": "<string>"
}
}
Agent call retrieved successfully
The response is of type object
.