Skip to main content
What your account holds to send SMS with, and only your own. kind says which:
  • "currency": your account has a gateway account of its own. balance is what it holds.
  • "units": your provider gives you units to send with. You hold no money; units lists what you hold of each SMS type, and balance is null.
Needs the sms.balance:read scope.

Request

Response

200 OK. For a "currency" account, balance and sms_count are the gateway’s own figures. balance can be the string "ND": the gateway doesn’t enforce a balance on this account, which is not the same as zero.
For a "units" account, each row is one SMS type: units is what you hold of it, and on is false for a type that isn’t switched on for you yet (its units can’t be sent until it is).

Errors

Every refusal is {"error": {"code", "message", "field"}}; field is there when one input is at fault. Any request can also be refused for its key, its account or its rate (key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.