Send Notification SMS

Send notification SMS

Url

POST https://api.antgst.com/sms/txt/2/send/json

Content-Type

application/json

Request Body

NameType
Description
Required
Description

from

String

No

SenderID

Array

Yes

Receive number,Receive phone format like: countryCode+phone: 006281213131213

sms

String

Yes

Sms content

Curl Example

curl --request POST 
  --url https://api.antgst.com/sms/txt/2/send/json 
  --header 'content-type: application/json' 
  --data '{
    "authSecret":"6b43ccc24d864f26xxxxxxxxxx530e47db959921e0a55b9499",
    "from":"1234",
    "numbers":["0091xxxx08424"],
    "sms":"test sms"
}'

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