v52

OpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB

Get monthly charges breakdown

Retrieve a detailed breakdown of monthly charges for phone numbers in a specified date range. The date range cannot exceed 31 days.

get/charges_breakdown

Query parameters

start_datestring date required
Example:2025-05-01

Start date for the charges breakdown in ISO date format (YYYY-MM-DD)

end_datestring date
Example:2025-06-01

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.

format'json' | 'csv'
Example:json

Response format

Response

Monthly charges breakdown

Example response

{
  "data": {
    "currency": "USD",
    "end_date": "2025-06-01",
    "results": [
      {
        "charge_type": "local",
        "service_owner_email": "user@example.com",
        "service_owner_user_id": "0db0b4aa-a83d-4d4f-ad9b-3ba7c1ac2ce8",
        "services": [
          {
            "cost": "1.50",
            "cost_type": "MRC",
            "name": "Local DIDs"
          }
        ],
        "tn": "+15551234567"
      }
    ],
    "start_date": "2025-05-01",
    "user_email": "user@example.com",
    "user_id": "0db0b4aa-a83d-4d4f-ad9b-3ba7c1ac2ce8"
  }
}