1、生成解析任务
1.1 请求地址
1.2 请求参数
1.3 响应参数
data数据结构
返回数据示例:
{
"code": "000000",
"message": "成功",
"data": {
"batch_no": "LT202308040905179088662679552",
"app_id": "0AvyA8opHDqDs6X2",
"template_id": "CLAIM202207260953094148600813568",
"show_times": 1,
"effective_days": 7,
"msg_signs": ["签名1", "签名2"],
"generate_type": "2",
"link_type": "2",
"params": [
{
"custom_flag": "13535353535",
"custom_url": "https://www.chuanglan.com/",
"custom_short_code": "asdf35y",
"dynamic_params": {"param1":"aaa", "param2":"bbb"},
"aim_url": "aaa.cn/asdf35y",
"aim_code": "asdf35y",
"result_code": "0",
"result_message": "成功",
"expire_date": "2025-11-23 10:35:25"
}
],
"domain": "aaa.cn",
"batch_no": "202401020000000001"
}
}
尊敬的你好,请查收 aaa.cn/asdf35y ,退订
1.4 请求示例(随机一客一链无动参)
{
"nonce": "1a8ce7919a39495e8e15a9ea8eb74d26",
"timestamp": "1662050291029",
"signature": "313c5e2e7df1a6346048a74c16d20a6c70fc881fcd2455153fa6475e8e088d5d",
"app_id": "0AvyA8opHDqDs6X2",
"template_id": "CLAIM202207260953094148600813568",
"show_times": 1,
"effective_days": 7,
"msg_signs": ["签名1", "签名2"],
"generate_type": "2",
"link_type": "2",
"params": [
{
"custom_flag": "13535353535",
"custom_url": "https://www.chuanglan.com/",
}
],
"domain": "aaa.cn",
"batch_no": "202401020000000001",
"message_batch_id": "202408091045496568662810624"
}
1.5 请求示例(自定义一客一链有动参)
{
"nonce": "1a8ce7919a39495e8e15a9ea8eb74d26",
"timestamp": "1662050291029",
"signature": "313c5e2e7df1a6346048a74c16d20a6c70fc881fcd2455153fa6475e8e088d5d",
"app_id": "0AvyA8opHDqDs6X2",
"template_id": "CLAIM202207260953094148600813568",
"show_times": 1,
"effective_days": 7,
"msg_signs": [
"签名1",
"签名2"
],
"generate_type": "2",
"link_type": "2",
"params": [
{
"custom_flag": "13535353535",
"custom_short_code": "asdf35y",
"dynamic_params": {
"param1": "aaa",
"param2": "bbb"
}
}
],
"domain": "aaa.cn",
"batch_no": "202401020000000001",
"message_batch_id": "202408091045496568662810624"
}
1.6 群发随机短链
{
"nonce": "1a8ce7919a39495e8e15a9ea8eb74d26",
"timestamp": "1662050291029",
"signature": "313c5e2e7df1a6346048a74c16d20a6c70fc881fcd2455153fa6475e8e088d5d",
"app_id": "0AvyA8opHDqDs6X2",
"template_id": "CLAIM202207260953094148600813568",
"show_times": 10,
"effective_days": 30,
"msg_signs": [
"签名1",
"签名2"
],
"generate_type": "1",
"link_type": "1",
"params": [
{
"custom_flag": "13535353535",
"custom_url": "https://www.chuanglan.com/"
}
],
"domain": "aaa.cn",
"batch_no": "202401020000000002"
}
2、寻址能力查询
2.1 请求地址
2.2 请求参数
2.3 响应参数
data数据结构
返回数据示例:
{
"code": "000000",
"message": "成功",
"data": [
{
"mobile": "15156908672",
"support": true
},
{
"mobile": "13122298708",
"support": true
}
]
}
2.4 请求示例(手机号不加密)
{
"app_id": "nRYcU4fYExYjw2m8",
"timestamp": "1659154588940",
"nonce": "80e33b2f03b44db8b5f7b4114f370602",
"signature": "1635a1fdb0f61cc9e01df9d9f84640193478d138cd80e9021c4c1a3dec916be7",
"template_id": "CLAIM202208011504569468599109632",
"mobiles": "[\"15156908672\",\"13122298708\"]"
}
2.5 请求示例(手机号加密)
{
"app_id": "nRYcU4fYExYjw2m8",
"timestamp": "1659154588940",
"nonce": "80e33b2f03b44db8b5f7b4114f370602",
"signature": "1635a1fdb0f61cc9e01df9d9f84640193478d138cd80e9021c4c1a3dec916be7",
"template_id": "CLAIM202208011504569468599109632",
"mobiles": "[\"8c88115820bffd772d27def3506f09f0c0eb4083\",\"4ddec46c6f7cd545074b6b6d3d6ae03af1d9a49d\"]",
"encrypt_type": "SHA1"
}