Hi,
I like to know how i retrieve data from a search when it has multiple pages.
at the moment i do a search call and only can the data of the 1st page (150) conversations.
Hi,
I like to know how i retrieve data from a search when it has multiple pages.
at the moment i do a search call and only can the data of the 1st page (150) conversations.
Hello @dimitri v​ , 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
Â
==============================
{
"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.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.