MDR Detail Reports
Fetch all Mdr records
Fetch all Mdr records
get/reports/mdrs
Query parameters
start_datestring
Pagination start date
end_datestring
Pagination end date
idstring
Message uuid
Example:e093fbe0-5bde-11eb-ae93-0242ac130002
Filter results by identifier.
direction'INBOUND' | 'OUTBOUND'
Direction (inbound or outbound)
Example:INBOUND
Filter results by direction.
profilestring
Name of the profile
Example:My profile
Filter results by profile.
cldstring
Destination number
Example:+15551237654
Filter results by cld.
clistring
Origination number
Example:+15551237654
Filter results by cli.
status'GW_TIMEOUT' | 'DELIVERED' | 'DLR_UNCONFIRMED' | 'DLR_TIMEOUT' | 'RECEIVED' | 'GW_REJECT' | 'FAILED'
Message status
Example:DELIVERED
Filter results by status.
message_type'SMS' | 'MMS'
Type of message
Example:SMS
Filter results by message type.
Response
Successful
Example response
{
"data": [
{
"cld": "+1555123456",
"cli": "+1555123456",
"cost": "0.1",
"created_at": "2020-07-01T00:00:00-06:00",
"currency": "USD",
"direction": "outbound",
"id": "99b637f3-07fd-45ac-b9ca-b87208c24650",
"message_type": "SMS",
"parts": 2,
"profile_name": "configured-profile-name",
"rate": "0.05",
"record_type": "mdr_report",
"status": "DELIVERED"
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}