---
title: "Generates and fetches CDR Usage Reports"
method: GET
path: "/reports/cdr_usage_reports/sync"
tags: ["CDR Usage Reports"]
---

# Generates and fetches CDR Usage Reports

`GET /reports/cdr_usage_reports/sync`

Generate and fetch voice usage report synchronously. This endpoint will both generate and fetch the voice report over a specified time period. No polling is necessary but the response may take up to a couple of minutes.

## Query parameters

- `start_date` string, date-time
- `end_date` string, date-time
- `aggregation_type` 'NO_AGGREGATION' | 'CONNECTION' | 'TAG' | 'BILLING_GROUP', required
- `product_breakdown` 'NO_BREAKDOWN' | 'DID_VS_TOLL_FREE' | 'COUNTRY' | 'DID_VS_TOLL_FREE_PER_COUNTRY', required
- `connections` number[]

## Response `200`

Successful

- CdrGetSyncUsageReportResponse
  - `data` CdrUsageReportResponse
    - `id` string, uuid — Identifies the resource
    - `start_time` string, date-time
    - `end_time` string, date-time
    - `connections` integer[]
    - `aggregation_type` 'NO_AGGREGATION' | 'CONNECTION' | 'TAG' | 'BILLING_GROUP'
    - `status` 'PENDING' | 'COMPLETE' | 'FAILED' | 'EXPIRED'
    - `report_url` string
    - `result` object
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `record_type` string
    - `product_breakdown` 'NO_BREAKDOWN' | 'DID_VS_TOLL_FREE' | 'COUNTRY' | 'DID_VS_TOLL_FREE_PER_COUNTRY'

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api/revisions/e32d46c5945b/schema)
