参数 | 说明 | 是否必填 | 类型 |
---|---|---|---|
appId | 应用id | 是 | String |
businessPhone | 商家号码 | 是 | String |
type | 验证码类型(0:SMS, 1:VOICE) | 是 | Integer |
特殊说明:由于该接口是获取验证码,请求频率限制如下:
1st - 0s;2nd - 1 minute;3rd - 2 minutes;4th - 7 hours;5th - 13 hours;6th - 24 hours;7th - 48 hours
Request URL:
https://api.itniotech.com/wa/phone/code
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"appId":"appId",
"businessPhone":"91856321412",
"type":0
}
参数 | 说明 | 类型 |
---|---|---|
status | 状态码,0成功,其他失败参见响应状态码说明 | String |
reason | 原因说明 | String |
data | null | String |
{
"status": "0",
"reason": "success",
"data": null
}