Audio Record
10/28/26Less than 1 minute
Audio Record
Query Audio Records
Description
Paginate audio record files
URI
/wscrm-bus-api/open/audioRecord/page
Method
POST, Content-Type: application/json
Request Parameters
| Parameter | Type | Required | Remarks |
|---|---|---|---|
| tenantId | Long | Yes | Company id |
| info | Object | Yes | Query conditions |
| current | int | No | Page number, default 1 |
| pageSize | int | No | Page size, default 10 |
info Parameters
| Parameter | Type | Required | Remarks |
|---|---|---|---|
| friendWhatsId | String | No | Target customer |
| whatsId | String | No | Agent WhatsApp account |
| chatType | Integer | No | 1 personal, 2 group |
| actionType | Integer | No | 1 send, 2 receive |
| contentType | Integer | No | Content type |
| startChatTime | Long | No | Chat time start (ms) |
| endChatTime | Long | No | Chat time end (ms) |
| agentAccount | String | No | Seat account (exact match) |
Sync Audio Records
Description
After client uploads an audio file and it is saved, push sync to third party (when configured)
WebHook
Configuration ID <MSG_SYNC_AUDIO_RECORD>
Auth headers:
accessToken/tenantId/timestampBody:
{ "data": [ { id, userId, userName, currentWhatsId, friendWhatsId, senderWhatsId, actionType, chatType, contentType, soundRecordUrl, duration, sendTime, originType, createAt } ] }Expected response:
{ "code": 200, "message": "success!", "data": "" }
