Get recordings for a call

cURL

curl --request GET \
  --url https://api.openphone.com/v1/call-recordings/{callId} \
  --header 'Authorization: <api-key>'

Response Codes

  • 200
  • 400
  • 401
  • 403
  • 404
  • 500
{
  "data": [
    {
      "duration": 60,
      "id": "<string>",
      "startTime": "2022-01-01T00:00:00Z",
      "status": "completed",
      "type": "audio/mpeg",
      "url": "https://examplestorage.com/a643d4d3e1484fcc8b721627284eda5e.mp3"
    }
  ]
}

Authorizations

  • Authorization
    Type: string
    Location: header
    Required: yes

Path Parameters

  • callId
    Type: string
    Required: yes
    Description: The unique identifier of the call for which recordings are being retrieved.
    Pattern: ^AC(.*)$
    Example:
    "AC3700e624eca547eb9f749a06f"
    

Response

  • 200
    Type: application/json
    Description: Success

  • data
    Type: object[]
    Required: yes
    Showchild attributes.