TextFlow Docs
HomeContactPricingRegisterLogin
  • REST API
  • Node.js
  • Python
  • C#
  • PHP
  • Java
  • Checking your balance
  • Receiving SMS replies
  • Using SMS senders
  • Send SMS for free
Powered by GitBook
On this page

Checking your balance

Last updated 1 year ago

There are three ways to check your balance, and the easiest one is by taking a look at your .

Other than that, you can check your balance programmatically by sending a GET request (or inputing the url in your browser) and providing your , for example:

This will show you how much credits you have on your account, and how much messages you have left in all your packages. The packages are clustered by the region.

This can be easily done, but if it is more convenient for you, we have created another option:

Get your balance by specifying the authorization header

GET https://textflow.me/api/balance

Headers

Name
Type
Description

Authorization*

The value should be "Bearer YOUR_API_KEY"

{
    "ok": true,
    "credits": "0.11437",
    "packages": {
        "USA Canada": 2100,
        "UK": 500
    }
}
{
    "ok": false
}

Dashboard
API key