Recording

The MediaVault API enables you to access recordings tied to various identifiers. You can retrieve recordings using a reference ID, session ID, or master ID. Additionally, recordings can be accessed using a call ID or contact ID, allowing for flexible management of recorded media within your application.


GET /recording/by-reference/{ref_id}

Retrieve recording based on reference-id / session-id / master-id

Required Parameters

ref_id string

reference-id / session-id / master-id of the associated recording

Request
curl -X 'GET' \
    'https://api.mediavaultplus.com/recording/by-reference/131604421973' \
    -H 'accept: application/json'
Response
{
    "isError": false,
    "errorMessage": null,
    "data": {
      "success": true,
      "filename": "ABC1234.mp3",
      "base64": "sdfsdf3s1dfsdf3s1df3sd1f13sdf3=="
    }
}

GET /recording/by-call-id/{call_id}

Retrieve recording based on call-id / contact-id

Required Parameters

call_id string

call-id / contact-id of the associated recording

Request
curl -X 'GET' \
    'https://api.mediavaultplus.com/recording/by-call-id/131604421973' \
    -H 'accept: application/json'
Response
{  
    "isError": false,
    "errorMessage": null,
    "data": {
      "success": true,
      "filename": "ABC1234.mp3",
      "base64": "sdfsdf3s1dfsdf3s1df3sd1f13sdf3=="
    }
}