5G 消息发送详情查询接口
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SendTimeStart |
string |
是 |
发送时间区间开始时间(闭区间),格式 yyyy-MM-dd HH:mm:ss,最早支持查询半年前 |
2026-11-01 00:00:00 |
| SendTimeEnd |
string |
是 |
发送时间区间结束时间(闭区间),不能早于开始时间,单次请求最大横跨 31 天 |
2026-11-24 23:59:59 |
| PhoneNumber |
string |
否 |
接收手机号(明文),精确匹配 |
13900001234 |
| TemplateCode |
string |
否 |
5G 模板编码 |
SMS_123456789 |
| SignName |
string |
否 |
签名名称 |
【测试签名】 |
| TemplateFormat |
string |
否 |
模板格式:PLAIN_TEXT(纯文本)/ RCS(富媒体) |
PLAIN_TEXT |
| ReadStatus |
string |
否 |
已读状态:UNKNOWN(未知)/ READ(已读) |
READ |
| SendType |
string |
否 |
下发消息类型:INPUT(主动下发)/ REPLY(回复下行) |
INPUT |
| RcsId |
string |
否 |
5G 消息唯一 ID(RcsId),精确匹配 |
8f3a1c2e-5b7d-4e9a-9c1f-2d3e4f5a6b7c |
| SendStatus |
string |
否 |
发送状态:SENDING(发送中)/ SEND_SUCCESS(发送成功)/ SEND_FAILED(发送失败) |
SEND_SUCCESS |
| BizId |
integer |
否 |
发送回执 ID(业务流水号) |
1000000001 |
| CurrentPage |
integer |
是 |
页码,从 1 开始 |
1 |
| PageSize |
integer |
是 |
每页数量,取值范围 1~50 |
20 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| AccessDeniedDetail |
string |
访问被拒绝详细信息,只有 RAM 校验失败才会返回此字段。 |
None |
| RequestId |
string |
请求 ID |
7d3f9c2a-1b2c-4d5e-8f90-123456789abc |
| Message |
string |
响应信息 |
success |
| Data |
object |
返回数据。 |
{ "PageNo": 1, "PageSize": 20, "Total": 6, "List": [ { "SendTime": "2026-11-25 13:25:00", "SendStatus": "SEND_FAILED", "RcsTemplateCode": "SMS_467355424", "RcsSize": 2, "RcsTemplateFormat": "PLAIN_TEXT", "SignName": "【阿里云通信】", "ErrCode": "MK:0005", "RcsId": "110000001738186_1530887_TEST_RCS_MT_013", "FallbackStatus": "IN_PROGRESS", "ReportTime": "2026-11-25 13:25:20", "ReadStatus": "UNKNOWN", "Content": "5G消息测试-M-失败-回落数字短信中", "SendType": "REPLY", "PhoneNumber": "13612345678", "OutId": "TEST_RCS_M_20261125", "FallbackType": "DIGITAL_SMS", "BizId": 811720287291026913, "FallbackBizId": "20261125DIGI0001", "InReplyToRcsId": "110000001738186_1530887_TEST_RCS_MT_011" }, { "SendTime": "2026-11-25 13:05:00", "ReadTime": "2026-11-25 13:06:00", "SendStatus": "SEND_SUCCESS", "RcsTemplateCode": "SMS_467355422", "RcsSize": 1, "RcsTemplateFormat": "RCS", "SignName": "【旅程约车】", "ErrCode": "DELIVERED", "RcsId": "110000001738186_1530887_TEST_RCS_MT_011", "FallbackStatus": "NO_NEED", "ReportTime": "2026-11-25 13:05:20", "ReadStatus": "READ", "Content": "5G消息测试-K-成功-无需回落-已读", "SendType": "INPUT", "PhoneNumber": "13800138000", "OutId": "TEST_RCS_K_20261125", "BizId": 811720287291026911 } ] } |
| PageSize |
integer |
每页数量 |
20 |
| Total |
integer |
记录总条数 |
1000 |
| PageNo |
integer |
当前页码(从 1 开始) |
1 |
| List |
array<object> |
记录列表 |
[ { "SendTime": "2026-11-25 13:25:00", "SendStatus": "SEND_FAILED", "RcsTemplateCode": "SMS_467355424", "RcsSize": 2, "RcsTemplateFormat": "PLAIN_TEXT", "SignName": "【阿里云通信】", "ErrCode": "MK:0005", "RcsId": "110000001738186_1530887_TEST_RCS_MT_013", "FallbackStatus": "IN_PROGRESS", "ReportTime": "2026-11-25 13:25:20", "ReadStatus": "UNKNOWN", "Content": "5G消息测试-M-失败-回落数字短信中", "SendType": "REPLY", "PhoneNumber": "13612345678", "OutId": "TEST_RCS_M_20261125", "FallbackType": "DIGITAL_SMS", "BizId": 811720287291026913, "FallbackBizId": "20261125DIGI0001", "InReplyToRcsId": "110000001738186_1530887_TEST_RCS_MT_011" }, { "SendTime": "2026-11-25 13:05:00", "ReadTime": "2026-11-25 13:06:00", "SendStatus": "SEND_SUCCESS", "RcsTemplateCode": "SMS_467355422", "RcsSize": 1, "RcsTemplateFormat": "RCS", "SignName": "【旅程约车】", "ErrCode": "DELIVERED", "RcsId": "110000001738186_1530887_TEST_RCS_MT_011", "FallbackStatus": "NO_NEED", "ReportTime": "2026-11-25 13:05:20", "ReadStatus": "READ", "Content": "5G消息测试-K-成功-无需回落-已读", "SendType": "INPUT", "PhoneNumber": "13800138000", "OutId": "TEST_RCS_K_20261125", "BizId": 811720287291026911 } ] |
|
object |
返回数据 |
{ "SendTime": "2026-11-25 13:05:00", "ReadTime": "2026-11-25 13:06:00", "SendStatus": "SEND_SUCCESS", "RcsTemplateCode": "SMS_467355422", "RcsSize": 1, "RcsTemplateFormat": "RCS", "SignName": "【旅程约车】", "ErrCode": "DELIVERED", "RcsId": "110000001738186_1530887_TEST_RCS_MT_011", "FallbackStatus": "NO_NEED", "ReportTime": "2026-11-25 13:05:20", "ReadStatus": "READ", "Content": "5G消息测试-K-成功-无需回落-已读", "SendType": "INPUT", "PhoneNumber": "13800138000", "OutId": "TEST_RCS_K_20261125", "BizId": 811720287291026911 } |
|
| SendTime |
string |
发送时间 |
2026-11-01 10:00:00 |
| ReadTime |
string |
阅读时间 |
2026-11-01 10:05:00 |
| SendStatus |
string |
发送状态:SENDING/SEND_SUCCESS/SEND_FAILED |
SEND_SUCCESS |
| RcsTemplateCode |
string |
消息对应模板编码 |
SMS_123456789 |
| RcsSize |
integer |
消息条数 对于文本消息,每 210 个字节计算为一条; 对于富媒体消息,一次请求即算一条与内容大小无关 |
90 |
| RcsTemplateFormat |
string |
消息对应模板格式:PLAIN_TEXT/MULTIMEDIA |
PLAIN_TEXT |
| SignName |
string |
签名 |
【测试签名】 |
| ErrCode |
string |
发送异常状态编码 |
OK |
| RcsId |
string |
5G 消息全局唯一 ID |
8f3a1c2e-5b7d-4e9a-9c1f-2d3e4f5a6b7c |
| FallbackStatus |
string |
回落状态:NOT_SET/NOT_ENTERED/NO_NEED/SPECIFIC_EXCEPTION/TIMEOUT/SUCCESS/FAILED/IN_PROGRESS |
SUCCESS |
| ReportTime |
string |
接收时间 |
2026-11-01 10:00:10 |
| ReadStatus |
string |
已读状态:UNKNOWN/READ |
READ |
| Content |
string |
消息内容 |
您的验证码为123456 |
| SendType |
string |
下发消息类型:INPUT/REPLY |
INPUT |
| PhoneNumber |
string |
手机号码 |
13500012345 |
| OutId |
string |
发送时所传自定义流水号 |
out-20261101-001 |
| FallbackType |
string |
回落短信产品类型:CARD/DIGITAL_SMS/SMS |
SMS |
| BizId |
integer |
发送回执 ID,即发送流水号 |
1000000001 |
| FallbackBizId |
string |
回落短信产品流水号 |
1000000002 |
| InReplyToRcsId |
string |
被回复的 5G 消息 ID,主动下发为 NULL |
8f3a1c2e-5b7d-4e9a-9c1f-2d3e4f5a6b7c |
| Code |
string |
响应码 |
OK |
| Success |
boolean |
是否成功 |
true |
示例
正常返回示例
JSON格式
{
"AccessDeniedDetail": "None",
"RequestId": "7d3f9c2a-1b2c-4d5e-8f90-123456789abc",
"Message": "success",
"Data": {
"PageSize": 20,
"Total": 1000,
"PageNo": 1,
"List": [
{
"SendTime": "2026-11-01 10:00:00",
"ReadTime": "2026-11-01 10:05:00",
"SendStatus": "SEND_SUCCESS",
"RcsTemplateCode": "SMS_123456789",
"RcsSize": 90,
"RcsTemplateFormat": "PLAIN_TEXT",
"SignName": "【测试签名】",
"ErrCode": "OK",
"RcsId": "8f3a1c2e-5b7d-4e9a-9c1f-2d3e4f5a6b7c",
"FallbackStatus": "SUCCESS",
"ReportTime": "2026-11-01 10:00:10",
"ReadStatus": "READ",
"Content": "您的验证码为123456",
"SendType": "INPUT",
"PhoneNumber": "13500012345",
"OutId": "out-20261101-001",
"FallbackType": "SMS",
"BizId": 1000000001,
"FallbackBizId": "1000000002",
"InReplyToRcsId": "8f3a1c2e-5b7d-4e9a-9c1f-2d3e4f5a6b7c"
}
]
},
"Code": "OK",
"Success": true
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。