MLachapelle
11 years agoHelper
RESTAPI - Get messages starting at a specific id
Hi,
I want to get all messages starting from a specific id. For example, I have 1000 messages and want all messages past message/id/301. Is there a better way than doing that call incrementing the page number until I find it.
/restapi/v1/messages?page_size=100&page=1
Thanks
- This can be done, you need to write some jquery code, get the last read/scanned message in an object, and then start from there the next time you want to start the scanning.