Authentication
POST /user/account/balance HTTP/1.1
Host: api.antgst.com
Content-Type: application/json
{
"authSecret": "YOUR_API_KEY"
}📘How do I get my API Key?


Test with cURL
Last updated
POST /user/account/balance HTTP/1.1
Host: api.antgst.com
Content-Type: application/json
{
"authSecret": "YOUR_API_KEY"
}

Last updated
curl --location --request POST 'https://api.antgst.com/user/account/balance'
--header 'Content-Type: application/json'
--data '{"authSecret": "YOUR_API_KEY"}'{
"msg": "SUCCESS",
"code": 200,
"result": {
"smsBalance": -18.383,
"voipBalance": 0.0,
"currency": "CNY"
}
}{
"msg": "auth secret error!",
"code": -22
}