Get provider balances
curl --request GET \
--url https://prod-platform-core-api.20x.business/api/v1/integrations/balances \
--header 'Authorization: Bearer <token>'import requests
url = "https://prod-platform-core-api.20x.business/api/v1/integrations/balances"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod-platform-core-api.20x.business/api/v1/integrations/balances', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Integrations
Get provider balances
Fetch the live account balance of each connected voice provider
GET
/
integrations
/
balances
Get provider balances
curl --request GET \
--url https://prod-platform-core-api.20x.business/api/v1/integrations/balances \
--header 'Authorization: Bearer <token>'import requests
url = "https://prod-platform-core-api.20x.business/api/v1/integrations/balances"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod-platform-core-api.20x.business/api/v1/integrations/balances', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Queries each connected voice provider for its current account balance. This is
the balance held at the provider (Twilio, Plivo…), not your Agentic OS wallet
— for that see Get wallet balance.
Providers are queried live, so this endpoint is slower than most and a provider
outage shows up as
status: "error" on that entry rather than failing the whole
request.
curl https://prod-platform-core-api.20x.business/api/v1/integrations/balances \
-H "Authorization: Bearer $AGENTIC_OS_API_KEY"
requests.get(
"https://prod-platform-core-api.20x.business/api/v1/integrations/balances",
headers={"Authorization": f"Bearer {API_KEY}"},
)
await fetch("https://prod-platform-core-api.20x.business/api/v1/integrations/balances", {
headers: { Authorization: `Bearer ${API_KEY}` },
});
Response
[{ "provider": "TWILIO", "balance": "42.75", "currency": "USD", "status": "ok" }]
status | Meaning |
|---|---|
ok | Balance retrieved |
error | Provider call failed — see error on that entry |
unsupported | Provider exposes no balance API |

