Endpoint Examples
Get Call
Endpoint Examples
Get Call
Retrieve information for a specific call
POST
/
get-call
curl --request POST \
--url https://app.phonely.ai/api/get-call \
--header 'Content-Type: application/json' \
--header 'X-Authorization: <api-key>' \
--data '{
"uid": "<string>",
"agentId": "<string>",
"callId": "<string>"
}'
[
{
"agentName": "<string>",
"mentionedEmail": "<string>",
"unansweredQuestions": [
"<string>"
],
"actionItems": [
"<string>"
],
"followUpReason": "<string>",
"followUp": "<string>",
"recordingUrl": "<string>",
"dashboardUrl": "<string>",
"purpose": "<string>",
"sentiment": "<string>",
"transcriptText": "<string>",
"transcript": [
{
"content": "<string>",
"role": "<string>"
}
],
"mentionedDate": "<string>",
"businessPhoneNumber": "<string>",
"keyPoints": [
"<string>"
],
"topic": "<string>",
"longSummary": "<string>",
"callId": "<string>",
"ai_success": "<string>",
"customerPhoneNumber": "<string>",
"callStarted": "2023-11-07T05:31:56Z",
"callEnded": "2023-11-07T05:31:56Z",
"duration": 123,
"callerName": "<string>",
"callDirection": "<string>",
"mentionedTime": "<string>",
"summary": "<string>",
"endedReason": "<string>"
}
]
Authorizations
Body
application/json
Response
200
application/json
Successful response
The response is of type object[]
.
curl --request POST \
--url https://app.phonely.ai/api/get-call \
--header 'Content-Type: application/json' \
--header 'X-Authorization: <api-key>' \
--data '{
"uid": "<string>",
"agentId": "<string>",
"callId": "<string>"
}'
[
{
"agentName": "<string>",
"mentionedEmail": "<string>",
"unansweredQuestions": [
"<string>"
],
"actionItems": [
"<string>"
],
"followUpReason": "<string>",
"followUp": "<string>",
"recordingUrl": "<string>",
"dashboardUrl": "<string>",
"purpose": "<string>",
"sentiment": "<string>",
"transcriptText": "<string>",
"transcript": [
{
"content": "<string>",
"role": "<string>"
}
],
"mentionedDate": "<string>",
"businessPhoneNumber": "<string>",
"keyPoints": [
"<string>"
],
"topic": "<string>",
"longSummary": "<string>",
"callId": "<string>",
"ai_success": "<string>",
"customerPhoneNumber": "<string>",
"callStarted": "2023-11-07T05:31:56Z",
"callEnded": "2023-11-07T05:31:56Z",
"duration": 123,
"callerName": "<string>",
"callDirection": "<string>",
"mentionedTime": "<string>",
"summary": "<string>",
"endedReason": "<string>"
}
]