curl --request GET \
--url https://api.openphone.com/v1/calls/{callId} \
--header 'Authorization: <api-key>'
{
"data": {
"answeredAt": "2022-01-01T00:00:00Z",
"answeredBy": "USlHhXmRMz",
"initiatedBy": "USlHhXmRMz",
"direction": "incoming",
"status": "completed",
"completedAt": "2022-01-01T00:00:00Z",
"createdAt": "2022-01-01T00:00:00Z",
"duration": 60,
"forwardedFrom": "+15555555555",
"forwardedTo": "+15555555555",
"id": "AC123abc",
"phoneNumberId": "PN123abc",
"participants": [
"+15555555555"
],
"updatedAt": "2022-01-01T00:00:00Z",
"userId": "US123abc"
}
}
Fetch a single call by an id.
curl --request GET \
--url https://api.openphone.com/v1/calls/{callId} \
--header 'Authorization: <api-key>'
{
"data": {
"answeredAt": "2022-01-01T00:00:00Z",
"answeredBy": "USlHhXmRMz",
"initiatedBy": "USlHhXmRMz",
"direction": "incoming",
"status": "completed",
"completedAt": "2022-01-01T00:00:00Z",
"createdAt": "2022-01-01T00:00:00Z",
"duration": 60,
"forwardedFrom": "+15555555555",
"forwardedTo": "+15555555555",
"id": "AC123abc",
"phoneNumberId": "PN123abc",
"participants": [
"+15555555555"
],
"updatedAt": "2022-01-01T00:00:00Z",
"userId": "US123abc"
}
}
Unique identifier of the call.
"AC3700e624eca547eb9f749a06f2eb1"
Success
The response is of type object
.
Was this page helpful?