segments), its calls and minutes, its API requests, what was charged and its balance — for this month so far, or the days you ask for. The figures are the ones the panel’s billing page shows.
Needs the
usage:read scope.Query parameters
Request
Response
200 OK — delivered counts messages delivered, read or replied to. calls is null without Voice. api.messages counts messages sent through POST /v1/messages. Money is in minor units (paise, cents): charged is usage debits only — top-ups and refunds aren’t spend — and balance is what the account holds now. days is there with by=day only.
Errors
Every refusal is{"error": {"code", "message", "field"}}; field is there when one input is at fault.
Any request can also be refused for its key, its account or its rate (
key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.