Stream a Merged CDR Recording
Gets a temporary playback URL of the merged recording file of a CDR. The file merges all recording segments of the CDR.
Request URL
GET {base_url}/uc-creport/api/v1/cdr/{cdrMainId}/recordings/merged/stream
Request parameters
- Headers
-
Parameter Required Type Description Authorization Yes String The access token used for authentication. Format: Bearer
{access_token}.x-tenant-code Yes String The tenant name. Note: You can obtain tenant name using the Query Tenants interface.
- Path parameters
-
Parameter Required Type Description cdrMainId Yes String The ID of the CDR main record. You can obtain the ID using the Search Recordings interface.
Response parameters
| Parameter | Type | Description |
|---|---|---|
| requestId | String | The unique ID of the request, which can be used to quickly locate the request. |
| code | String | The HTTP status code of the request.
|
| message | String | The status message of the request. |
| detailMessage | String | The detailed error information. When the request is successful, this parameter returns empty. |
| result | Object<Merged_Playback_URL> | The temporary playback URL of the merged recording. |
- Merged_Playback_URL
-
Parameter Type Description mergedUrl String The temporary playback URL of the merged recording. expireAt String The expiration time of the URL, in Unix timestamp format (seconds).
Example
Request example
GET /uc-creport/api/v1/cdr/347642293061275648/recordings/merged/stream HTTP/1.1
Host: api.cn.novoone.com
Authorization: Bearer eyJraWQiOiJjbi0wLWtleS0xIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJkaXN0cmlidXRvcmV4YW1wbGVAb3V0bG9vay5jb20iLCJhcHBfa2V5Ijoic2xOdnQzaHc1NXB2Vm5HRlNhR2ZOVTNmMWxYQ3lpa08iLCJncmFudF90eXBlIjoib3BlbmFwaSIsImNsaWVudF9leHQiOnsiZGVzY3JpcHRpb24iOiLnrKzkuInmlrnlkIjkvZzkvJnkvLTlupTnlKgiLCJwYXJ0bmVyIjoi56S65L6L5ZCI5L2c5LyZ5Ly0In0sImNsaWVudF90eXBlIjoib3BlbmFwaSIsImV4cCI6MTc5MjA4ODM1MSwiaWF0IjoxNzkyMDY2NzUxLCJqdGkiOiIzYjRmN2IxZC04ZWQyLTQzZTEtOTIyZC1kZmRhNjk4ZjQ2ZDgiLCJjbGllbnRfaWQiOiJub3ZvLW9wZW4tcGxhdGZvcm0iLCJ1c2VyX2V4dCI6eyJyb2xlSWRzIjpbM10sInN0eXBlIjoiQURNSU4iLCJ0ZW5hbnRDb2RlIjpudWxsLCJ0eXBlIjoiUF9BQ0NPVU5UIiwidXNlcklkIjozMDc2OTEzNjQ0OTE1OTk4NzIwLCJlbWFpbCI6ImRpc3RyaWJ1dG9yZXhhbXBsZUBvdXRsb29rLmNvbSIsInVzZXJuYW1lIjoiZGlzdHJpYnV0b3JleGFtcGxlQG91dGxvb2suY29tIiwidWNJZCI6MzA3NjkxMzY0NDg5MDgzMjg5Nn19.OgeYovYZA5JEX-2F0VglvINizU6lzmE0EIpqSzWMb2PZa3XOBnAJjydZAVi-2_HJXQy1DDpZAkz3kcVlbOPQU8n0B9gfeHA-OPIxBWVeNTOZHO1BHHi_nMYDlNt59sRHO8pnYmakLbzrtA0qNF47jgPdNxm4yA_Jodhec-k-uT0xzpG_F0YugtZwcMIg9cujyWdqAs-lEohoYchO_WEMYENLOeQR966nspafFfxoKa-NafsEOyZX1igzWB9tX8nSgdQv_F4YqmUVXE7giTyUC9GmS_QzHymDJ9jbYZh8Ktp_bVoqFZfhd7WPVPR8HycGeX1dazgpH6Q8HBE6fsp2ZQ
x-tenant-code: colortest2
Response example
HTTP/1.1 200 OK { "requestId": "db6596a3a7258748e4ac2f5a112746b0", "code": "200", "message": "SUCCESS", "detailMessage": "", "result": { "mergedUrl": "https://novo-one-tst-self-operated-business.s3.ap-east-1.amazonaws.com/commctl/colortest2/recording/colortest2/20260817151957-20260817151954ZAFHX-1000-1001-Queue-Internal.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20261015T121956Z&X-Amz-SignedHeaders=host&X-Amz-Credential=AKIA6ODU5BKBMSDIXP4N%2F20261015%2Fap-east-1%2Fs3%2Faws4_request&X-Amz-Expires=983&X-Amz-Signature=73025994bfd908b1703d1a5def177441936c1708a02eda3006762bc1510aa849", "expireAt": "1792067779" } }