WDR Detail Reports

Fetches all Wdr records

Changed on

Returns wireless detail records (WDRs) matching the provided criteria, such as date range, SIM card, IMSI, or phone number, with pagination and sorting.

get/reports/wdrs

Request

  • Base URL
    https://api.telnyx.com/v2
  • URL
    https://api.telnyx.com/v2/reports/wdrs
  • Auth
    HTTP bearer

Query parameters

start_datestring
Example:2021-05-01T00:00:00Z

Start date

end_datestring
Example:2021-06-01T00:00:00Z

End date

idstring

WDR uuid

Example:e093fbe0-5bde-11eb-ae93-0242ac130002

Filter results by identifier.

mccstring

Mobile country code

Example:204

Filter results by mcc.

mncstring

Mobile network code

Example:01

Filter results by mnc.

imsistring

International mobile subscriber identity

Example:123456

Filter results by imsi.

sim_group_namestring

Sim group name

Example:sim name

Filter results by sim group name.

sim_group_idstring

Sim group unique identifier

Example:f05a189f-7c46-4531-ac56-1460dc465a42

Filter results by sim group id.

sim_card_idstring

Sim card unique identifier

Example:877f80a6-e5b2-4687-9a04-88076265720f

Filter results by sim card id.

phone_numberstring

Phone number

Example:+12345678910

Filter results by phone number.

sortstring[]

Field used to order the data. If no field is specified, default value is 'created_at'

Field and direction to sort the results by.

[
  "created_at"
]
numberinteger

Page number

sizeinteger

Size of the page

Consolidated page parameter (deepObject style). Originally: page[number], page[size]

Response

Successful

Example response

{
  "data": [
    {
      "id": "3ca7bd3d-7d82-4e07-9df4-009123068320",
      "created_at": "2020-07-01T00:00:00-06:00",
      "cost": {
        "amount": "0.1",
        "currency": "USD"
      },
      "mcc": "204",
      "mnc": "01",
      "downlink_data": {
        "amount": 1
      },
      "duration_seconds": 1,
      "imsi": "123",
      "rate": {
        "amount": "0.1",
        "currency": "USD"
      },
      "sim_group_name": "sim name",
      "sim_group_id": "f05a189f-7c46-4531-ac56-1460dc465a42",
      "sim_card_id": "877f80a6-e5b2-4687-9a04-88076265720f",
      "phone_number": "+12345678910",
      "uplink_data": {
        "amount": 1
      },
      "record_type": "wdr"
    }
  ],
  "meta": {
    "total_pages": 3,
    "total_results": 55,
    "page_number": 2,
    "page_size": 25
  }
}

Changes

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • warning

      deleted the query request parameter page[number]

    • warning

      deleted the query request parameter page[size]

    • info

      added the new optional query request parameter page