语音验证码
POST
https://api.4321.sh/voiceotp/send
采用 HTTP POST发送模式, 飞鸽传书API 主要针对用户为需要传送验证码以及号码的需求,即通过传递真实验证实现语音验证码发送
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.4321.sh/voiceotp/send' \
--header 'Content-Type: application/json' \
--data-raw '{
"apikey": "string",
"secret": "string",
"code": "string",
"mobile": "string"
}'
响应示例响应示例
{
"code": 0,
"msg": "OK",
"msg_no": "2016072909264497197473179",
"count": 1
}
请求参数
Body 参数application/json