Get billable calls by business ID
GET/v1/businesses/{businessId}/billable-calls
Returns billable call counts for one business, identified by its Hiya
businessId, over the given date range, bucketed by granularity.
Works for any business of yours, including one still UNDER_REVIEW
or one with no billable calls in the range (total is 0). A
business shut down since remains queryable for the ranges in which it
belonged to you.
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]
totalResponses
- 200
- 400
- 401
- 404
- 500
The business's 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, or granularity is unknown.
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