Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

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

Body

*/*

Cdr detail request data

Request object for CDR usage report

start_time
string<date-time>
required

Start time in ISO format

Example:

"2024-02-01T00:00:00Z"

end_time
string<date-time>
required

End time in ISO format

Example:

"2024-02-01T00:00:00Z"

aggregation_type
integer<int32>

Aggregation type: All = 0, By Connections = 1, By Tags = 2, By Billing Group = 3

Example:

0

connections
integer<int64>[]

List of connections to filter by

List of connections to filter by

Example:
product_breakdown
integer<int32>

Product breakdown type: No breakdown = 0, DID vs Toll-free = 1, Country = 2, DID vs Toll-free per Country = 3

Example:

0

managed_accounts
string<uuid>[]

List of managed accounts to include

Example:
select_all_managed_accounts
boolean

Whether to select all managed accounts

Example:

false

Response

V2 legacy CDR usage report request created successfully

data
object

Legacy V2 CDR usage report response