Get a phone number's billable calls by business ID
GET/v1/businesses/{businessId}/phone-numbers/{phoneNumber}/billable-calls
Returns billable call counts for one phone number of a business,
identified by the business's Hiya businessId, over the given date
range, bucketed by granularity. Works for any number that was registered
to this business at some point in the range (total is 0 if it had
no billable calls in the range). A number that was not registered to
this business during the range returns 404.
Path Parameters
The ID of the business, assigned by Hiya.
9b8a1c4e-2c0f-4f3d-9a1e-7b3a2b4c6d8fThe number in E.164 format. Percent-encode the leading
+
%2B
%2B12065550123
Possible values: Value must match regular expression ^\+[1-9]\d{1,14}$
+12065550123Query 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 phone number'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, or the phone number
wasn't registered to this business during the range — the cases are
indistinguishable by design. A phone number in the path that isn't
valid E.164 also returns 404.
Response Body
Something went wrong on our side.
Response Body