⭐OTP Backfill Interface
OTP Backfill Interface
Url
POST https://api.antgst.com/sms/verifyCode/validate
Content-Type
application/json
Request Body
NameType
Description
Required
Description
smsId
String
Yes
The unique ID of the SMS returned after the SMS API is successfully sent
validateResult
String
Yes
Backfill results(SUCCESS,FAILURE)
Curl Example
curl --request POST
--url https://api.antgst.com/sms/verifyCode/validate
--header 'content-type: application/json'
--data '{
"authSecret": "6b43ccc24xxxxx7db959921e0a55b9499",
"smsId": "05cf3604xxxxxx667744d675e27",
"validateResult": "SUCCESS"
}'Response
{
"msg": "SUCCESS",
"code": 200
}{
"msg": "auth secret error!",
"code": -22
}Response parameter description
Filed
Description
msg
response result information
response status code
Last updated