Get recordings for a call
curl --request GET \
--url https://dev-public-api.openphone.dev/v1/call-recordings/{callId} \
--header 'Authorization: <api-key>'{
"data": [
{
"duration": 60,
"id": "CRwRVK2qBq",
"startTime": "2022-01-01T00:00:00Z",
"status": "completed",
"type": "audio/mpeg",
"url": "https://examplestorage.com/a643d4d3e1484fcc8b721627284eda5e.mp3"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}Calls
Get recordings for a call
Retrieve a list of recordings associated with a specific call. The results are sorted chronologically, with the oldest recording segment appearing first in the list.
GET
/
v1
/
call-recordings
/
{callId}
Get recordings for a call
curl --request GET \
--url https://dev-public-api.openphone.dev/v1/call-recordings/{callId} \
--header 'Authorization: <api-key>'{
"data": [
{
"duration": 60,
"id": "CRwRVK2qBq",
"startTime": "2022-01-01T00:00:00Z",
"status": "completed",
"type": "audio/mpeg",
"url": "https://examplestorage.com/a643d4d3e1484fcc8b721627284eda5e.mp3"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}Was this page helpful?
⌘I