{ "opencollection": "1.0.0", "info": { "name": "Telnyx Access Tokens CDR Usage Reports API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "CDR Usage Reports", "type": "folder" }, "items": [ { "info": { "name": "List CDR usage reports", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/legacy/reporting/usage_reports/voice", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number" }, { "name": "per_page", "value": "", "type": "query", "description": "Size of the page" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Fetch all previous requests for cdr usage reports. " }, { "info": { "name": "Create a new legacy usage V2 CDR report request", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/legacy/reporting/usage_reports/voice", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new legacy usage V2 CDR report request with the specified filters" }, { "info": { "name": "Get a CDR usage report", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/legacy/reporting/usage_reports/voice/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Fetch single cdr usage report by id." }, { "info": { "name": "Delete a V2 legacy usage CDR report request", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/legacy/reporting/usage_reports/voice/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes a specific V2 legacy usage CDR report request by ID" }, { "info": { "name": "Generates and fetches CDR Usage Reports", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/reports/cdr_usage_reports/sync", "params": [ { "name": "start_date", "value": "", "type": "query" }, { "name": "end_date", "value": "", "type": "query" }, { "name": "aggregation_type", "value": "", "type": "query" }, { "name": "product_breakdown", "value": "", "type": "query" }, { "name": "connections", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "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. " } ] } ], "bundled": true }