On this page

Balance

Beta

1 endpoints, each naming the scope its key must carry.

https://api.ghostsms.iov1openapi.json

GET /v1/balance

scopebalance:read

Retrieve the account's balance

Returns

objectstring
availableapimoney
amountinteger
currencystring
curl https://api.ghostsms.io/v1/balance \
  -H "Authorization: Bearer $GHOSTSMS_KEY"
200
{
  "object": "activation",
  "available": {
    "amount": 0,
    "currency": "…"
  }
}