Skip to main content

GetPaginatedMdrs

GET 

/reports/mdrs

Fetch all Mdr records

Request

Query Parameters

    start_date string

    Pagination start date

    end_date string

    Pagination end date

    id string
    direction string

    Possible values: [INBOUND, OUTBOUND]

    profile string
    cld string
    cli string
    status string

    Possible values: [GW_TIMEOUT, DELIVERED, DLR_UNCONFIRMED, DLR_TIMEOUT, RECEIVED, GW_REJECT, FAILED]

    message_type string

    Possible values: [SMS, MMS]

Responses

200: Successful

Schema

    data

    object[]

  • Array [

  • created_at date-time

    Message sent time

    profile_name string

    Configured profile name. New profiles can be created and configured on Telnyx portal

    direction string

    Direction of message - inbound or outbound.

    parts number

    Number of parts this message has. Max number of character is 160. If message contains more characters then that it will be broken down in multiple parts

    status string

    Possible values: [GW_TIMEOUT, DELIVERED, DLR_UNCONFIRMED, DLR_TIMEOUT, RECEIVED, GW_REJECT, FAILED]

    Message status

    cld string

    The destination number for a call, or the callee

    cli string

    The number associated with the person initiating the call, or the caller

    rate string

    Rate applied to the message

    cost string

    Final cost. Cost is calculated as rate * parts

    currency string

    Possible values: [AUD, CAD, EUR, GBP, USD]

    Currency of the rate and cost

    id string

    Id of message detail record

    message_type string

    Possible values: [SMS, MMS]

    Type of message

    record_type string
  • ]

  • meta

    object

    total_pages int32
    total_results int32
    page_number int32
    page_size int32
Loading...