Get monthly charges breakdown
Changed onRetrieve a detailed breakdown of monthly charges for phone numbers in a specified date range. The date range cannot exceed 31 days.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/charges_breakdown
- Auth: HTTP bearer
Query parameters
Start date for the charges breakdown in ISO date format (YYYY-MM-DD)
End date for the charges breakdown in ISO date format (YYYY-MM-DD). If not provided, defaults to start_date + 1 month. The date is exclusive, data for the end_date itself is not included in the report. The interval between start_date and end_date cannot exceed 31 days.
Response format
Response
Monthly charges breakdown
Example response
{
"data": {
"user_id": "0db0b4aa-a83d-4d4f-ad9b-3ba7c1ac2ce8",
"start_date": "2025-05-01",
"end_date": "2025-06-01",
"user_email": "user@example.com",
"currency": "USD",
"results": [
{
"tn": "+15551234567",
"charge_type": "local",
"service_owner_user_id": "0db0b4aa-a83d-4d4f-ad9b-3ba7c1ac2ce8",
"service_owner_email": "user@example.com",
"services": [
{
"cost_type": "MRC",
"name": "Local DIDs",
"cost": "1.50"
}
]
}
]
}
}Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
the
/response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32tointegerfor status
- breaking
- breaking
the response's body type changed from no type to
objectfor status - breaking
the
/response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed fromstringtointeger, and format fromintegertoint32for status - breaking
the
///response's property format changed fromjson-pointerto no format for status
- breaking