Skip to main content
POST
Returns the billable usage of your own phone numbers over a time window: the seconds and the number of calls that count toward billing. It applies the same rule that bills your account, so a platform that resells Voicy can read its customers’ usage here instead of measuring calls itself. What counts: a call counts only if it was answered and completed, it lasted more than zero seconds, and it is not a test call. Each counted call is billed per second with a 60-second minimum. A call whose content was later deleted still counts. Text-simulator calls never count. The window is half-open: a call counts toward the window its start time falls in, from lower_threshold (included) up to upper_threshold (not included). Two adjacent windows, for example consecutive billing periods, therefore never count the same call twice. A window may be at most 366 days.
A number is matched as your number on the call: the number that was dialed on an inbound call, the caller ID on an outbound call. A number that is not on your account returns zeros.

Body Parameters

object
required

Response

integer
Total billable seconds across the requested numbers.
integer
Total number of calls that counted.
array
One entry per requested number, in the order requested, zeros included.