Hi Luke,
Thanks for getting in touch.
Paging is supported by using both startIndex and count query parameters. You cannot just specify one as the API will not know what size of result set you are requesting. With neither parameter it will return the default first page of a fixed size.
There are three values returned with paged collections: startIndex, count and totalcount.
E.g. <messageheaders startindex="0" count="15" totalcount="24">
If you wanted to request the second page you would send a request to
http://api.esendex.com/v1.0/inbox/messa ... 5&count=15 The response you would get would indicate the size of results you got back
<messageheaders startindex="15" count="9" totalcount="24">
9 is the total amount of records on the final second page as there were only 24 records.
The totalcount may change between page requests as new messages enter your inbox. You can use this number to generate the total number of available pages.
If you have any other questions, please get in touch.
Many thanks,