- 账户权益管理API
- 短视频离线合成API
- 调用须知
- 常见问题
- 流式TTS-音色需报备
- 短视频作品合成、编辑和查询
- 音频作品合成、编辑和查询
- 数字人和音色模型
- 素材准备和编辑
- 直播OpenApi
- 调用须知
- 常见问题
- 实时信息同步
- 直播阿凡达模式WS连接
- 直播流程相关
- 直播素材准备和编辑
- 数字人互动
消息列表
POST
/openApiDigitalPerson/customer/msgList
请求参数
Header 参数
authorization
string
必需
示例值:
{{auth|md5}}
req_from
string
必需
示例值:
C
timestamp
integer
时间戳
示例值:
{{timestamp}}
app_id
string
必需
示例值:
{{appId}}
account
string
可选
示例值:
19999999999
Body 参数application/json
pageNum
integer
分页页数
pageSize
integer
每页数量
readStatus
string
可选
示例
{
"pageNum": 1,
"pageSize": 20,
"readStatus": "UNREAD"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/openApiDigitalPerson/customer/msgList' \
--header 'authorization: {{auth|md5}}' \
--header 'req_from: C' \
--header 'timestamp: {{timestamp}}' \
--header 'app_id: {{appId}}' \
--header 'account: 19999999999' \
--header 'Content-Type: application/json' \
--data-raw '{"pageNum":1,"pageSize":20,"readStatus":"UNREAD"}'
返回响应
🟢200成功
application/json
Body
code
integer
code
data
object
data
content
array [object {6}]
分页内容
pageable
object
必需
totalElements
integer
总数
totalPages
integer
总页数
last
boolean
是否是最后一页
first
boolean
是否是第一页
sort
object
必需
numberOfElements
integer
本页数量
size
integer
分页每页数
requestId
string
必需
resultMsg
string
必需
host
string
必需
errorStackTrace
null
必需
示例
{
"code": 200,
"data": {
"content": [
{
"createTime": "2023-08-02 15:23:28",
"updateTime": "2023-08-02 15:23:28",
"msgId": 1605,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "数字人定制成功",
"content": "您的数字人【测试定制模型】定制成功,有效期365天,于2024-08-02过期,可在首页查看并使用",
"params": {}
},
{
"createTime": "2023-08-02 14:25:02",
"updateTime": "2023-08-02 14:25:02",
"msgId": 1602,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "数字人定制提交",
"content": "您的数字人【测试定制模型】已经成功提交审核",
"params": {}
},
{
"createTime": "2023-07-31 15:16:21",
"updateTime": "2023-07-31 15:16:21",
"msgId": 1562,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-31 15:16:21】成功充值【1】个定制声音,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-31 15:16:09",
"updateTime": "2023-07-31 15:16:09",
"msgId": 1561,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-31 15:16:09】成功充值【1】个数字人,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-31 15:15:44",
"updateTime": "2023-07-31 15:15:44",
"msgId": 1560,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-31 15:15:44】成功充值【1】分钟短视频合成时长,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-31 14:24:39",
"updateTime": "2023-07-31 14:24:39",
"msgId": 1555,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-31 14:24:39】成功充值【1】分钟短视频合成时长,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-31 13:30:37",
"updateTime": "2023-07-31 13:30:37",
"msgId": 1547,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-31 13:30:37】成功充值【1】个数字人,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-14 23:12:00",
"updateTime": "2023-07-14 23:12:00",
"msgId": 1363,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "数字人定制成功",
"content": "您的数字人【胡测试定制】定制成功,有效期365天,于2024-07-14过期,可在首页查看并使用",
"params": {}
},
{
"createTime": "2023-07-12 15:34:34",
"updateTime": "2023-07-12 15:34:34",
"msgId": 1319,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-12 15:34:34】成功充值【1】个数字人,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-12 09:38:23",
"updateTime": "2023-07-12 09:38:23",
"msgId": 1270,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "数字人定制提交",
"content": "您的数字人【胡测试定制】已经成功提交审核",
"params": {}
},
{
"createTime": "2023-07-06 14:51:11",
"updateTime": "2023-07-06 14:51:11",
"msgId": 1204,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-06 14:51:11】成功充值【1】个数字人,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-06 14:51:11",
"updateTime": "2023-07-06 14:51:11",
"msgId": 1205,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-06 14:51:11】成功充值【120】分钟短视频合成时长,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-06 14:51:10",
"updateTime": "2023-07-06 14:51:10",
"msgId": 1203,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-06 14:51:10】成功充值【2】个定制声音,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-06 14:50:54",
"updateTime": "2023-07-06 14:50:54",
"msgId": 1200,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-06 14:50:54】成功充值【1】个定制声音,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-06 14:50:54",
"updateTime": "2023-07-06 14:50:54",
"msgId": 1201,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-06 14:50:54】成功充值【1】个数字人,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-06 14:50:54",
"updateTime": "2023-07-06 14:50:54",
"msgId": 1202,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-06 14:50:54】成功充值【120】分钟短视频合成时长,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-06 14:50:30",
"updateTime": "2023-07-06 14:50:30",
"msgId": 1197,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-06 14:50:30】成功充值【1】个定制声音,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-06 14:50:30",
"updateTime": "2023-07-06 14:50:30",
"msgId": 1198,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-06 14:50:30】成功充值【1】个数字人,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-06 14:50:30",
"updateTime": "2023-07-06 14:50:30",
"msgId": 1199,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-06 14:50:30】成功充值【60】分钟短视频合成时长,已经到账,可以在个人中心查看",
"params": null
},
{
"createTime": "2023-07-04 15:50:17",
"updateTime": "2023-07-04 15:50:17",
"msgId": 1091,
"userId": 81,
"readStatus": "UNREAD",
"type": null,
"title": "到账通知",
"content": "您于【2023-07-04 15:50:16】成功充值【1】个定制声音,已经到账,可以在个人中心查看",
"params": null
}
],
"pageable": {
"sort": {
"sorted": true,
"unsorted": false,
"empty": false
},
"pageNumber": 0,
"pageSize": 20,
"offset": 0,
"paged": true,
"unpaged": false
},
"totalElements": 53,
"totalPages": 3,
"last": false,
"first": true,
"sort": {
"sorted": true,
"unsorted": false,
"empty": false
},
"numberOfElements": 20,
"size": 20,
"number": 0,
"empty": false
},
"requestId": "TwHpOldt",
"resultMsg": "执行成功",
"host": "develop-007",
"errorStackTrace": null
}
修改于 2024-07-15 02:58:08