curl --request GET \
--url https://dev-public-api.openphone.dev/v1/calls/{callId} \
--header 'Authorization: <api-key>'{
"data": {
"answeredAt": "2022-01-01T00:00:00Z",
"answeredBy": "USlHhXmRMz",
"initiatedBy": "USlHhXmRMz",
"direction": "incoming",
"status": "queued",
"completedAt": "2022-01-01T00:00:00Z",
"createdAt": "2023-11-07T05:31:56Z",
"callRoute": "phone-number",
"duration": 123,
"forwardedFrom": "+15555555555",
"forwardedTo": "+15555555555",
"aiHandled": "ai-agent",
"id": "<string>",
"phoneNumberId": "<string>",
"participants": [
"<string>"
],
"updatedAt": "2022-01-01T00:00:00Z",
"userId": "<string>"
}
}Get a call by its unique identifier.
curl --request GET \
--url https://dev-public-api.openphone.dev/v1/calls/{callId} \
--header 'Authorization: <api-key>'{
"data": {
"answeredAt": "2022-01-01T00:00:00Z",
"answeredBy": "USlHhXmRMz",
"initiatedBy": "USlHhXmRMz",
"direction": "incoming",
"status": "queued",
"completedAt": "2022-01-01T00:00:00Z",
"createdAt": "2023-11-07T05:31:56Z",
"callRoute": "phone-number",
"duration": 123,
"forwardedFrom": "+15555555555",
"forwardedTo": "+15555555555",
"aiHandled": "ai-agent",
"id": "<string>",
"phoneNumberId": "<string>",
"participants": [
"<string>"
],
"updatedAt": "2022-01-01T00:00:00Z",
"userId": "<string>"
}
}Was this page helpful?