Send OTP SMS
Send normal otp SMS
Url
POST
https://api.antgst.com/sms/txt/3/send/json
Content-Type
application/json
Request Body
NameType
Description
Required
Description
from
String
No
SenderID
sms
String
Yes
Sms content
Curl Example
curl --request POST
--url https://api.antgst.com/sms/txt/3/send/json
--header 'content-type: application/json'
--data '{
"authSecret":"6b43ccc24d864f26xxxxxxxxxx530e47db959921e0a55b9499",
"from":"1234",
"number":"0091xxxx08424",
"sms":"925219 OTP valid for 5 minutes"
}'
Response
{
"msg": "SUCCESS",
"code": 200,
"result": [
{
"number": "0091xxxx08424",
"smsId": "e95f2754f557xxxxde688a509ee63b0",
"code": 200,
"result": "success"
}
]
}
Response parameter description
Filed
Description
msg
response result information
response status code
result
response result parameter
result.number
balance of SMS service
result.smsId
SMS Unique ID
result.code
Response status code for each SMS
result.result
Response information for each SMS
Last updated