Pagination
Pipeliner sends a maximum of 100 (Default: 30) records per request. The limit can be changed by API parameter first
Pagination is available after the successful call of all .list Endpoints. Then API returns the following data
1
{
2
"success": true,
3
"total": 107,
4
"page_info": {
5
"start_cursor": "WyIwMzU4NmNhMS1mMmJjLTQ2MDctYWE3Ni1jYWYyYTNlOWQ5ODciXQ==",
6
"end_cursor": "WyI0MGUxMGE1MC00ZTYxLTQ0M2YtYmUzOC0xNmNjMzQ5NTM2NGUiXQ==",
7
"has_previous_page": false,
8
"has_next_page": true
9
},
10
"data": [...]
11
}
Copied!

Using Cursor for pagination

To retrieve all data, it is recommended to use end_cursor with combination of API Parameter after. Iterate through the list, until the has_next_page is false
1
{{baseUrl}}/entities/Opportunities?after=WyI0MGUxMGE1MC00ZTYxLTQ0M2YtYmUzOC0xNmNjMzQ5NTM2NGUiXQ==
Copied!
Pagination done programatically
1
while has_next_page, do get_records(after=end_cursor)
Copied!
Copy link
Contents