Get a phone number's billable calls by external ID
GET/v1/businesses/external-id/{externalId}/phone-numbers/{phoneNumber}/billable-calls
Returns billable call counts for one phone number of a business,
identified by your own externalId, 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
Your own reference for the business, optionally supplied when it was created. Restricted to letters, digits,
.
_
-
externalId
businessId
externalId
404
Possible values: non-empty and <= 200 characters, Value must match regular expression ^[A-Za-z0-9._-]+$
partner-customer-7421The 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