cURL
curl --request GET \
--url https://api.teamfollowup.ai/api/billing/sub-accounts \
--header 'Authorization: Bearer YOUR_API_KEY'import requests
url = "https://api.teamfollowup.ai/api/billing/sub-accounts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.teamfollowup.ai/api/billing/sub-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.teamfollowup.ai/api/billing/sub-accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.teamfollowup.ai/api/billing/sub-accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.teamfollowup.ai/api/billing/sub-accounts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.teamfollowup.ai/api/billing/sub-accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"locationId": "rrHDPw5RIR5ULeUlfSAR",
"name": "Bright Dental",
"isLive": true,
"rebilling": {
"enabled": true,
"clientRatePerMinute": 0.45
},
"wallet": {
"balanceMinutes": 64.5,
"balanceUSD": 29.03,
"debtMinutes": 0,
"status": "LOW_BALANCE",
"visibility": "ENABLED"
},
"autoRecharge": {
"enabled": true,
"thresholdUSD": 25,
"rechargeAmountUSD": 100,
"blockedReason": null,
"requiresAction": false,
"recommendedAction": null,
"lastSuccessfulRechargeAt": "2026-09-10T09:30:00.000Z",
"lastFailureAt": null
},
"creditGuard": {
"enabled": false
},
"pendingCredits": {
"count": 0,
"minutes": 0,
"amountUSD": 0
}
},
{
"locationId": "q8LmVt2ZzYQ4pWnKdRb1",
"name": "Harbour Roofing",
"isLive": true,
"rebilling": {
"enabled": false,
"clientRatePerMinute": null
},
"wallet": {
"balanceMinutes": 0,
"balanceUSD": 0,
"debtMinutes": 0,
"status": "DEPLETED",
"visibility": "ENABLED"
},
"autoRecharge": {
"enabled": false,
"thresholdUSD": null,
"rechargeAmountUSD": null,
"blockedReason": null,
"requiresAction": false,
"recommendedAction": null,
"lastSuccessfulRechargeAt": null,
"lastFailureAt": null
},
"creditGuard": {
"enabled": true
},
"pendingCredits": {
"count": 0,
"minutes": 0,
"amountUSD": 0
}
}
]
}{
"success": false,
"error": "BadRequest",
"message": "query: Unrecognized key: \"status\""
}{
"success": false,
"error": "Unauthorized"
}{
"success": false,
"error": "InsufficientScope",
"message": "This API key does not have the required scope.",
"requiredScope": "billing:read"
}{
"success": false,
"error": "TooManyRequests"
}{
"success": false,
"error": "InternalError",
"message": "Could not load billing usage."
}List sub-account wallets
Every connected sub-account with its wallet balance and debt, rebilling rate, auto-recharge, Credit Guard, and payments waiting for credit. Disconnected sub-accounts are not listed.
Allowed customer roles: agency_admin. The agency is the one the credential belongs to; no parameter selects another.
Required API key scope: billing:read.
GET
/
api
/
billing
/
sub-accounts
cURL
curl --request GET \
--url https://api.teamfollowup.ai/api/billing/sub-accounts \
--header 'Authorization: Bearer YOUR_API_KEY'import requests
url = "https://api.teamfollowup.ai/api/billing/sub-accounts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.teamfollowup.ai/api/billing/sub-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.teamfollowup.ai/api/billing/sub-accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.teamfollowup.ai/api/billing/sub-accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.teamfollowup.ai/api/billing/sub-accounts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.teamfollowup.ai/api/billing/sub-accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"locationId": "rrHDPw5RIR5ULeUlfSAR",
"name": "Bright Dental",
"isLive": true,
"rebilling": {
"enabled": true,
"clientRatePerMinute": 0.45
},
"wallet": {
"balanceMinutes": 64.5,
"balanceUSD": 29.03,
"debtMinutes": 0,
"status": "LOW_BALANCE",
"visibility": "ENABLED"
},
"autoRecharge": {
"enabled": true,
"thresholdUSD": 25,
"rechargeAmountUSD": 100,
"blockedReason": null,
"requiresAction": false,
"recommendedAction": null,
"lastSuccessfulRechargeAt": "2026-09-10T09:30:00.000Z",
"lastFailureAt": null
},
"creditGuard": {
"enabled": false
},
"pendingCredits": {
"count": 0,
"minutes": 0,
"amountUSD": 0
}
},
{
"locationId": "q8LmVt2ZzYQ4pWnKdRb1",
"name": "Harbour Roofing",
"isLive": true,
"rebilling": {
"enabled": false,
"clientRatePerMinute": null
},
"wallet": {
"balanceMinutes": 0,
"balanceUSD": 0,
"debtMinutes": 0,
"status": "DEPLETED",
"visibility": "ENABLED"
},
"autoRecharge": {
"enabled": false,
"thresholdUSD": null,
"rechargeAmountUSD": null,
"blockedReason": null,
"requiresAction": false,
"recommendedAction": null,
"lastSuccessfulRechargeAt": null,
"lastFailureAt": null
},
"creditGuard": {
"enabled": true
},
"pendingCredits": {
"count": 0,
"minutes": 0,
"amountUSD": 0
}
}
]
}{
"success": false,
"error": "BadRequest",
"message": "query: Unrecognized key: \"status\""
}{
"success": false,
"error": "Unauthorized"
}{
"success": false,
"error": "InsufficientScope",
"message": "This API key does not have the required scope.",
"requiredScope": "billing:read"
}{
"success": false,
"error": "TooManyRequests"
}{
"success": false,
"error": "InternalError",
"message": "Could not load billing usage."
}⌘I
