Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization_bearer
string

Bearer token used to authenticate the request. Authenticates the request with your Telnyx API V2 KEY

Query Parameters

start_date
string

The start of the time range. Usage is counted by the hour, so the start is rounded down to the hour. The maximum time range is 31 days. Format: YYYY-MM-DDTHH:mm:ssZ

end_date
string

The end of the time range (exclusive). Usage is counted by the hour, so an hour that starts before the end is included in full. The maximum time range is 31 days. Format: YYYY-MM-DDTHH:mm:ssZ

date_range
string

A date literal that sets the time range, used instead of start_date and end_date. The range it resolves to can span at most 31 days.

Response

Successful

meta
object

The time range the summary covers, widened to whole UTC hours

data
object[]