Get a summary of your account balance.

We created a new viewing experience for our SMS API documentation. It's now all in one central location. Click here to check it out!

Example: Get account balance 

curl \
  -u 2e24c1cbdd987221e165d543f34b84bf:secret \

JSON Response


XML Response


PHP Examples

  include '../../APIClient2.php';

  $api = new transmitsmsAPI('API_KEY', 'API_SECRET');
  $result = $api->getBalance();

  if ($result->error->code == 'SUCCESS') {
    echo "Your balance is {$result->balance} {$result->currency}";

  } else {
    echo "Error: {$result->error->description}";