彩信 SUBHOOK 事件
請(qǐng)求 request
events | request |
---|
address | 此聯(lián)系人的手機(jī)號(hào)碼 |
app | 應(yīng)用 ID |
send_id | 該條短信的唯一發(fā)送標(biāo)識(shí),可在 API 請(qǐng)求時(shí)獲取 |
tag | 自定義標(biāo)簽 |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"request",
"address":"138xxxxxxx",
"send_id":"093c0a7df143c087d6cba9cdf0cf3738",
"app":xxxxx,
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
彩信發(fā)送成功delivered
events | delivered |
---|
address | 此聯(lián)系人的手機(jī)號(hào)碼 |
app | 應(yīng)用 ID |
send_id | 該條短信的唯一發(fā)送標(biāo)識(shí),可在 API 請(qǐng)求時(shí)獲取 |
tag | 自定義標(biāo)簽 |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"delivered",
"address":"138xxxxxxxx",
"send_id":"093c0a7df143c087d6cba9cdf0cf3738",
"tag":"xxxxx",
"app":xxxxxx,
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
彩信發(fā)送失敗 dropped
events | dropped |
---|
address | 此聯(lián)系人的手機(jī)號(hào)碼 |
app | 應(yīng)用 ID |
send_id | 該條短信的唯一發(fā)送標(biāo)識(shí),可在 API 請(qǐng)求時(shí)獲取 |
report | 網(wǎng)關(guān)失敗回執(zhí) |
tag | 自定義標(biāo)簽 |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"dropped",
"address":"138xxxxxxxx",
"send_id":"093c0a7df143c087d6cba9cdf0cf3738",
"report":" UNDELIV",
"app":xxxxxx,
"tag":"xxx"
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
彩信正在發(fā)送中sending
events | sending |
---|
address | 此聯(lián)系人的手機(jī)號(hào)碼 |
app | 應(yīng)用 ID |
send_id | 該條短信的唯一發(fā)送標(biāo)識(shí),可在 API 請(qǐng)求時(shí)獲取 |
tag | 自定義標(biāo)簽 |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"sending",
"address":"138xxxxxxxx",
"send_id":"093c0a7df143c087d6cba9cdf0cf3738",
"app":xxxxxx,
"tag":"xxx"
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
彩信上行接口推送 mo
events | mo |
---|
address | 此聯(lián)系人的手機(jī)號(hào)碼 |
app | 應(yīng)用 ID |
content | 短信內(nèi)容 |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"mo",
"address":"138xxxxxxxx",
"app":xxxxxx,
"content":"xxxxxx",
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
未知網(wǎng)關(guān)狀態(tài) unknown
events | unkown |
---|
address | 此聯(lián)系人的手機(jī)號(hào)碼 |
app | 應(yīng)用 ID |
send_id | 該條短信的唯一發(fā)送標(biāo)識(shí),可在 API 請(qǐng)求時(shí)獲取 |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"unkown",
"address":"138xxxxxxx",
"send_id":"093c0a7df143c087d6cba9cdf0cf3738",
"app":xxxxx,
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
彩信模板審核通過 template_accept
events | template_accept |
---|
template_id | 模板ID |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"template_accept",
"template_id":"H5OSN4",
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
彩信模板審核未通過 template_reject
events | template_reject |
---|
reason | 審核未通過原因 |
template_id | 模板ID |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"template_reject",
"reason":"簽名不正確",
"template_id":"H5OSN4",
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
視頻彩信運(yùn)營(yíng)商模板審核通過(中國(guó)移動(dòng)) cm_template_accept
events | cm_template_accept |
---|
template_id | 模板ID |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"cm_template_accept",
"template_id":"H5OSN4",
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
視頻彩信運(yùn)營(yíng)商模板審核駁回(中國(guó)移動(dòng)) cm_template_reject
events | cm_template_reject |
---|
template_id | 模板ID |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"cm_template_reject",
"template_id":"H5OSN4",
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
視頻彩信運(yùn)營(yíng)商模板審核通過(中國(guó)聯(lián)通) cu_template_accept
events | cu_template_accept |
---|
template_id | 模板ID |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"cu_template_accept",
"template_id":"H5OSN4",
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
視頻彩信運(yùn)營(yíng)商模板審核駁回(中國(guó)聯(lián)通) cu_template_reject
events | cu_template_reject |
---|
template_id | 模板ID |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"cu_template_reject",
"template_id":"H5OSN4",
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
視頻彩信運(yùn)營(yíng)商模板審核通過(中國(guó)電信) ct_template_accept
events | ct_template_accept |
---|
template_id | 模板ID |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"ct_template_accept",
"template_id":"H5OSN4",
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}
視頻彩信運(yùn)營(yíng)商模板審核駁回(中國(guó)電信) ct_template_reject
events | ct_template_reject |
---|
template_id | 模板ID |
timestamp | 事件觸發(fā)時(shí)間(此時(shí)間戳為此事件本身的觸發(fā)時(shí)間,不參與計(jì)算簽名) |
token | 32 位隨機(jī)字符串 |
signature | 數(shù)字簽名 |
推送示例
{
"events":"ct_template_reject",
"template_id":"H5OSN4",
"timestamp":1415014855,
"token":"067ef7e2f286a9a56eabb07dc9657852",
"signature":"a70d09a9345adfdd353d34a505dac4ca"
}