Request
POST https://api.intercom.io/contacts/search
Accept:application/json
Content-Type: application/json
Intercom-Version: 2.4
Authorization: Bearer token
{
"query": {
"operator": "AND",
"value":
{
"field": "email",
"operator": "~",
"value": "timur+1"
}
]
}
}
results in
{
"type": "list",
"data": ...],
"total_count": 78,
"pages": {
"type": "pages",
"next": {
"page": 2,
"starting_after": "Wy0xLCI1ZjIyYzQzZjkxMjU5NmY1MDNiMjA4ZWUiLDJd"
},
"page": 1,
"per_page": 50,
"total_pages": 2
}
}
But next request
POST https://api.intercom.io/contacts/search?starting_after=Wy0xLCI1ZjIyYzQzZjkxMjU5NmY1MDNiMjA4ZWUiLDJd
Accept:application/json
Content-Type: application/json
Intercom-Version: 2.4
Authorization: Bearer token
{
"query": {
"operator": "AND",
"value": :
{
"field": "email",
"operator": "~",
"value": "timur+1"
}
]
}
}
returns first page again. How to retrieve second page?