API reference

Wallet API

1 endpoint for wallet. Send your token as a Bearer header; how tokens, scopes, limits and errors work is on the API reference page.

API reference

Before you start

  • Authentication, scopes, rate limits, errors, retrying safely and paging are explained once, on the API reference.
  • Every request needs a token with the scope shown on its endpoint; without it the answer is 403.

Wallet

Wallet and this month's usage

GET/api/v1/walletScope wallet:read

What the wallet holds, and what calls have used this calendar month (India time) so far.

Answer (200): these fields
FieldTypeWhat it is
balance_inrrequirednumber—
low_balance_mark_inrrequirednumberBelow this the wallet.low_balance webhook is sent.
month_spend_inrrequirednumberSpent from the wallet this calendar month so far.
month_callsrequiredintegerCalls this calendar month so far.
month_billed_minutesrequirednumber—
included_minutesrequiredintegerThe plan's included minutes a month.
included_minutes_leftrequirednumber—
Errors
CodeWhen
401The token is missing, unknown or revoked, or its workspace was deleted.
402The workspace's plan does not include API access. The token is paused, not revoked: it works again as soon as the plan includes API access.
403The token does not have this endpoint's scope, it is a sandbox token, the workspace is suspended, or the request came from a network the workspace, or the token's IP allowlist, does not allow.
429This token has made more requests this minute than your plan allows. The Retry-After header says how many seconds to wait.
GET /api/v1/wallet with curl
curl "https://aicallstudio.com/api/v1/wallet" \
  -H "Authorization: Bearer mtc_YOUR_TOKEN"

Put AI Call Studio on your phone lines.

Book a 30-minute walkthrough, or call us right now: +91 922 222 1378