Get Balance
curl --request GET \
--url https://api.agentline.cloud/v1/billing/balance \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentline.cloud/v1/billing/balance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentline.cloud/v1/billing/balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Billing
Get Balance
Get your AI telephony account balance and rate card.
Returns the current balance and currency. Calls are 0.10 USD per minute in both directions. A 0-second call is free. A connected call has a one-minute minimum, then the actual duration rounded up to the cent. Phone numbers are 2.00 USD per month. The rate card also includes inbound SMS. Use this to check affordability before paid telephony operations.
GET
/
v1
/
billing
/
balance
Get Balance
curl --request GET \
--url https://api.agentline.cloud/v1/billing/balance \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentline.cloud/v1/billing/balance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentline.cloud/v1/billing/balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
AgentLine API key. Get one via the email OTP flow (POST /v1/auth/otp then POST /v1/auth/verify). Pass as: Authorization: Bearer al_live_... (legacy sk_live_... still works).
Response
200 - application/json
Successful Response