How do I access the next pages from of a search result. After the initial query to /conversations/search, with result spanning through multiple pages, how do I make the subsequent requests for the next pages?
How do I access the next page of search returns from an API call?
Best answer by Roy
Hello @augustine 👋, I hope you are doing well.
You should include the next key in the pages hash, More information can be found here:
https://developers.intercom.com/intercom-api-reference/reference#pagination-search/p>
==============================
{
"pages": {
"type": "pages",
"next": {
"page": 4,
"starting_after": "1HaSB+xrOyyMXAkS/c1RteCL7BzOzTvYjmjakgTergIH31eoe2v4/sbLsJWP\nIncfQLD3ouPkZlCwJ86F\n"
},
"page": 3,
"per_page": 5,
"total_pages": 10
}
}
==============================
I hope this will be helpful,
Let me know if you have any further questions about this topic.
Reply
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.