说明: 通过接口重发指定消息id验证码,并返回新的消息id。
参数 | 说明 | 是否必填 | 类型 |
---|---|---|---|
verificationId |
消息id |
是 |
String |
channel |
通道类型 [sms, call, sna], 默认sms |
否 |
String |
https://api.onbuka.com/v3/otp/verification/resend
Request URL:
https://api.onbuka.com/v3/otp/verification/resend
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"verificationId":"22206051443051000003",
"channel":"sms"
}
参数 | 说明 | 类型 |
---|---|---|
status |
状态码,0成功,其他失败参见状态码说明 |
String |
reason |
失败原因说明 |
String |
data |
响应参数详情 |
JSONObject |
verificationId |
消息id |
String |
to |
接收号码 |
String |
channel |
通道类型 [sms, call, sna] |
String |
snaUrl |
channel为SNA时返回 |
String |
{
"status": "0",
"reason": "success",
"data": {
"verificationId": "22206051443051000004",
"to": "8613500000000",
"channel": "sms"
}
}