Get one client's usage
Get one client's usage statement for a period.
Reseller plan only. Buy the Reseller plan to get access.
The statement has the client's spend by type, its calls by day, agent, campaign, number and direction, the numbers and channels it bought, and your margin on it.
Takes the same month, or date_from and date_to, as GET /reseller/usage. Amounts are in US dollars at the rates you set for the
client. Minutes are billable minutes. Each breakdown lists the biggest spend
first, and by_day runs oldest first.
Who may call: the reseller account owner or an admin. A client that is not
your direct client gets 404, the same answer as one that does not exist.
Path parameters
organization_idintegerrequiredThe client organization, as listed by GET /reseller/organizations.
Query parameters
monthstringA calendar month, as YYYY-MM.
date_fromstringFirst day of a custom range, as YYYY-MM-DD. Send with date_to.
Format date
date_tostringLast day of a custom range, as YYYY-MM-DD. Send with date_from.
Format date
Was this page helpful?
