Email API GetMessages only returning 25 results
Question asked by Frank Wilson - 2/25/2024 at 10:21 PM
I'm attempting to retrieve a list of all emails in our SmarterMail inbox via API.

I can successfully authenticate and am able to retrieve some emails from api/v1/mail/messages, but only the most recent 25.

I can't see any parameters in the POST inputs that would allow me to increase or change this, also nothing seems to suggest the data is paginated.

Has anyone else ever come across this and, if so, what was your solution? Any advice is much appreciated!

2 Replies

Reply to Thread
Zach Sylvester Replied
Employee Post Marked As Answer
Hey Frank, 

Try adding this to the JSON. 

Let me know if this helps. 


Zach Sylvester System/Network Administrator SmarterTools Inc. (877) 357-6278 www.smartertools.com
Frank Wilson Replied
Great, that worked. Thank you!

Reply to Thread