GET
/
v1
/
call-voicemails
/
{callId}
Get a voicemail for a call
curl --request GET \
  --url https://api.openphone.com/v1/call-voicemails/{callId} \
  --header 'Authorization: <api-key>'
{
  "data": {
    "duration": 60,
    "id": "VMaaff8f317e0c4e61953b74a5eb42a370",
    "transcript": "Hello, this is a voicemail from John Doe.",
    "recordingUrl": "https://examplestorage.com/a643d4d3e1484fcc8b721627284eda5e.mp3",
    "status": "completed"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

callId
string
required

The unique identifier of the call for which a voicemail is being retrieved.

Examples:

"AC3700e624eca547eb9f749a06f"

Response

Success

data
object
required