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.
| Field | Type | What it is |
|---|---|---|
balance_inrrequired | number | — |
low_balance_mark_inrrequired | number | Below this the wallet.low_balance webhook is sent. |
month_spend_inrrequired | number | Spent from the wallet this calendar month so far. |
month_callsrequired | integer | Calls this calendar month so far. |
month_billed_minutesrequired | number | — |
included_minutesrequired | integer | The plan's included minutes a month. |
included_minutes_leftrequired | number | — |
| Code | When |
|---|---|
401 | The token is missing, unknown or revoked, or its workspace was deleted. |
402 | The 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. |
403 | The 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. |
429 | This token has made more requests this minute than your plan allows. The Retry-After header says how many seconds to wait. |
curl "https://aicallstudio.com/api/v1/wallet" \
-H "Authorization: Bearer mtc_YOUR_TOKEN"