Query events
Use the Messages API to search messages of a device. The API selects messages published between the given start and end date. The maximum allowed interval between startdate and enddate is 24 hrs. You can retrieve messages published in the last 30 days.
For more details, refer to the API Specification.