List a business's phone numbers with their billable calls
GET/v1/businesses/{businessId}/billable-calls/phone-numbers
Lists 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.
Supports sorting and paging. Numbers without billable calls in the
range are not listed.
A page past the end returns 200 with an empty list and unchanged
paging totals.
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]
phoneNumberSort direction.
asc
desc
Possible values: Value must match regular expression ^[Aa][Ss][Cc]$|^[Dd][Ee][Ss][Cc]$
ascPage number, starting at 0.
Possible values: >= 0
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 invalid — the range is reversed or longer than
15 months, granularity, sortBy or sortDirection is unknown, or
page / size is out of range (page at most 100000, size 1 to
200).
Response Body
The API key is missing or invalid.
Response Body
No business with that ID exists, or it isn't one of yours — the two are indistinguishable by design.
Response Body
Something went wrong on our side.
Response Body