question

telnyx_slacker avatar image
telnyx_slacker asked

Is there an API endpoint for getting list of all messages sent/received?

I am looking for MDR(Message Detail Records) API to get list of all messages sent or received and also with ability to filter using a date range.

messaging
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

·
vishal avatar image
vishal answered

This API endpoint serves to get a list of all messages.

This can be used along with filters with date_range. Here is an example:

https://api.telnyx.com/v2/detail_records?filter[record_type]=MDR&filter[date_range]=last_month

More possible values for the date_range can be found here under Date Literals section.

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Manage Your Content