Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

MDR detailed report request data

Request object for MDR detailed report

start_time
string<date-time>
required

Start time in ISO format

Example:

"2024-02-01T00:00:00Z"

end_time
string<date-time>
required

End time in ISO format. Note: If end time includes the last 4 hours, some MDRs might not appear in this report, due to wait time for downstream message delivery confirmation

Example:

"2024-02-12T23:59:59Z"

timezone
string

Timezone for the report

Example:

"UTC"

directions
integer<int32>[]

List of directions to filter by (Inbound = 1, Outbound = 2)

Example:
record_types
integer<int32>[]

List of record types to filter by (Complete = 1, Incomplete = 2, Errors = 3)

Example:
connections
integer<int64>[]

List of connections to filter by

Example:
report_name
string

Name of the report

Example:

"My MDR Report"

include_message_body
boolean

Whether to include message body in the report

Example:

true

filters
object[]

List of filters to apply

profiles
string<uuid>[]

List of messaging profile IDs to filter by

Example:
managed_accounts
string<uuid>[]

List of managed accounts to include

Example:
select_all_managed_accounts
boolean

Whether to select all managed accounts

Example:

false

Response

MDR detailed report request created successfully

data
object