v47

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-181,0851,7264.5 MB
MDR Usage Reports

Create MDR Usage Report

Submit request for new new messaging usage report. This endpoint will pull and aggregate messaging data in specified time period.

post/reports/mdr_usage_reports

Response

Successful

Example response

{
  "data": {
    "start_date": "2020-07-01T00:00:00-06:00",
    "end_date": "2020-07-01T00:00:00-06:00",
    "report_url": "http://portal.telnyx.com/downloads/report_name_8hvb45Gu.csv",
    "result": [
      {
        "cost": "0",
        "direction": "outbound",
        "product": "outbound",
        "connection": "all",
        "received": "0",
        "delivered": "0",
        "currency": "USD",
        "parts": "0",
        "sent": "0",
        "profile_id": "All",
        "tags": "All",
        "message_type": "SMS",
        "tn_type": "TF",
        "carrier_passthrough_fee": "0"
      }
    ],
    "created_at": "2020-07-01T00:00:00-06:00",
    "updated_at": "2020-07-01T00:00:00-06:00",
    "profiles": "My profile",
    "record_type": "mdr_usage_report"
  }
}