Search My Recordings

Searches the recordings of the current user with pagination and returns the list of recordings that match the search conditions.

Request URL

POST {base_url}/uc-creport/api/v1/my-recordings/search-page

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.
Body parameters
Parameter Required Type Description
pageNumber No Integer The page number to retrieve.
pageSize No Integer The number of records to retrieve per page.
keyword No String The keyword used for fuzzy matching.

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.
  • 200: Request succeeded.
  • Non-200 value: Request failed.
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<My_Recording_Page> The search result of the recordings of the current user.
My_Recording_Page
Parameter Type Description
pageSize Integer The number of records per page.
pageNumber Integer The current page number.
total Integer The total number of recordings that match the search conditions.
items Array<My_Recording> The list of recordings of the current user.
My_Recording
Parameter Type Description
id String The ID of the recording.
uid String The business UID of the CDR.
startTime String The start time of the recording, in Unix timestamp format (microseconds).
duration Integer The duration of the recording, in milliseconds.
callType String

The call direction from the system perspective:

  • inbound: An inbound call.
  • outbound: An outbound call.
  • internal: An internal call.
peerNumber String The number of the peer party. For an outbound call, this parameter is the callee number; for other call types, this parameter is the caller number.
peerName String The display name of the peer party.
numberType String

The type of the peer number:

  • extension
  • extension_mobile
  • external
  • personal_contact
  • company_contact
avatar String The avatar of the peer party. This parameter is returned only when the peer number is an extension-type number.
presence String The presence status of the peer party. This parameter is returned only when the peer number is an extension-type number.
online Boolean The online status of the peer party. This parameter is true when either side is online or the phone is registered, and is returned only when the peer number is an extension-type number.
hasAiTranscription Boolean Whether an AI transcription is available for display. This parameter is false for historical recordings without a channel UUID.
recordingTranscriptionStatus String The status of the recording transcription task. This parameter is empty for historical recordings without a channel UUID.
cdrLegId String The associated CDR leg ID, which is used to delete the recording or get the playback URL by leg.
extensionNumber String The extension number that the mobile number is bound to. This parameter is returned only when the number type is extension_mobile.

Example

Request example

POST /uc-creport/api/v1/my-recordings/search-page HTTP/1.1
Host: api.cn.novoone.com
Authorization: Bearer eyJraWQiOiJjbi0wLWtleS0xIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIxMDAwQGNvbG9ydGVzdDIiLCJncmFudF90eXBlIjoicGFzc3dvcmQiLCJ1c2VyX25hbWUiOiIxMDAwQGNvbG9ydGVzdDIiLCJzY29wZSI6WyJyZWFkIiwid3JpdGUiXSwiY2xpZW50X2V4dCI6eyJkZXNjcmlwdGlvbiI6IueuoeeQhuWQjuWPsFdlYuW6lOeUqCIsInBsYXRmb3JtIjoid2ViIn0sImV4cCI6MTc5MjA4ODUwNywiaWF0IjoxNzkyMDY2OTA3LCJqdGkiOiI4MTNmYWI5NS0zNmRiLTQ0MGYtOGRkZi0yYjZjYjhkYWVkNjEiLCJjbGllbnRfaWQiOiJub3ZvLWFkbWluLXdlYiIsInNpZCI6ImViMWMyMzdmLWRkZjYtNDFiZi05YTVjLTM4MTc2YTczODM1NiIsInVzZXJfZXh0Ijp7InJvbGVJZHMiOlsxMDJdLCJwdWlkIjozMDc2OTEzNjQ0OTE1OTk4NzIwLCJ0ZW5hbnRJZCI6MjA3OTUwNDIwNTMwOTE5NDI0MSwicGFyZW50VWNJZCI6MzA3NjkxMzY0NDg5MDgzMjg5NiwidGVuYW50Q29kZSI6ImNvbG9ydGVzdDIiLCJ0eXBlIjoiVF9VU0VSIiwidXNlcklkIjoyMDc5NzQ2OTE1Mzg4MDc2MDMzLCJlbWFpbCI6Imxlb0BzYW1wbGUuY29tIiwidXNlcm5hbWUiOiIxMDAwQGNvbG9ydGVzdDIiLCJ1Y0lkIjozMDc2OTEzNjQ0ODkwODMyODk2fX0.DOxmJmRqO_Yj3_vN20uiTcMbV3x8YODs7D5g6fTuW09I3pqj36ZZGab5xz0jMWSeTAiduhK7eUUt08XyJ4proWDzPwsREP6sqmN0PhilHKetj5ZqKbwNEybwGY44hfYaWfiUoQ5yOfuVIK1EDn0CZFZjojeDrLsjTPyO_hYTd2TU9HafSsnH7cYMw9qkGrxfyjewv3DaJTbzmTVIvdzm0KLijZhq5pssqXxfJtAeX2lqZkMFTMESG5iuwNF1zXl5kzGjJTaH3PtGf5nkg5OkMvb389KO2v4BzkrjnITGHezhOEBJMjqx0N8GYXY6TH6KvTn19Yv6RUi-pPoDvEGaog
x-tenant-code: colortest2
Content-Type: application/json
{
  "pageNumber": 1,
  "pageSize": 10,
  "keyword": ""
}

Response example

HTTP/1.1 200 OK
{
  "requestId": "15b1593c06ba82cfabfa772686a02ec0",
  "code": "200",
  "message": "SUCCESS",
  "detailMessage": "",
  "result": {
    "pageSize": 10,
    "pageNumber": 1,
    "total": 0,
    "items": []
  }
}