List a business's phone numbers with their billable calls
GET/v1/businesses/{businessId}/billable-calls/phone-numbers
Returns billable call counts for every phone number of a business,
identified by the business's Hiya businessId, that had at least one
billable call in the given date range, bucketed by granularity.
Sortable by phone number or by billable calls; paged. Numbers without
billable calls in the range are not listed; use the single-number
endpoint to look up a specific number (it returns 0 for a number of
yours that had no billable calls).
Path Parameters
The ID of the business, assigned by Hiya.
9b8a1c4e-2c0f-4f3d-9a1e-7b3a2b4c6d8fQuery Parameters
Start of the date range (inclusive), as
YYYY-MM-DD
endDate
endDate
startDate
2026-05-01End of the date range (inclusive), as
YYYY-MM-DD
startDate
endDate
startDate
2026-05-31How to bucket the returned series. Defaults to
total
Possible values: [total, day, week, month]
totalField to sort the phone-number list by.
phoneNumber
total
sortDirection
Possible values: [phoneNumber, total]
phoneNumbertotalSort direction.
asc
desc
Possible values: Value must match regular expression ^[Aa][Ss][Cc]$|^[Dd][Ee][Ss][Cc]$
ascPage number, starting at 0. A page past the end returns
200
paging
Possible values: >= 0 and <= 100000
0Number of items per page.
Possible values: >= 1 and <= 200
50Responses
- 200
- 400
- 401
- 404
- 500
A page of per-phone-number billable call counts.
Response Body
A query parameter is missing or invalid — startDate or endDate
is absent or not a YYYY-MM-DD date, the range is reversed or
longer than 15 months, granularity, sortBy or sortDirection is
unknown, or page / size is out of range.
Response Body
The API key is missing or invalid.
Response Body
The business doesn't exist, or isn't one of yours — the two are indistinguishable by design.
Response Body
Something went wrong on our side.
Response Body