Objective
A Twilio account's current balance can be checked via Console or the REST API. This guide will walk you through both methods.
Procedure
Check an Account Balance via Console
Your Twilio account balance can be seen in a number of locations in Console:
- The Console Dashboard page:
- The Billing Overview page:
Check an Account Balance via the REST API
An account's current balance can also be checked by making an HTTP GET request to an account's Balance resource. Here’s an example cURL script:
curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Balance.json \
-u "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token"
This example request the current balance for the account with Account SID ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
. To make this script work for you, make the following updates, and then paste it into a terminal window:
- Line 1 update with your Account SID
- Line 2 update with your Account SID and Auth Token.
You should see a response in the following format:
{
"currency": "USD",
"balance": "12.29",
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}