LogoLogo
HomeSupport centerAPP
  • Overview
    • Quick Start
    • About the API
    • Authentication
  • API Reference
    • REST API
    • GraphQL API
  • Core API Concepts
    • Understanding the CRM Concept
    • Fields
    • API parameters
    • Dates
    • Pagination
    • Bulk Create, Update, Delete
    • Webhooks(Real-time updates)
  • Tutorials & Articles
    • Create Account
    • Create Contact
    • Create Opportunity
    • Create Product, Product Line Item
    • Create Custom Entity Record
    • Upload Document
    • Merging Accounts/Contacts
Powered by GitBook
On this page
  1. Core API Concepts

Pagination

PreviousDatesNextBulk Create, Update, Delete

Last updated 3 years ago

Pipeliner sends a maximum of 100 (Default: 30) records per request. The limit can be changed by first

Pagination is available after the successful call of all .list Endpoints. Then API returns the following data

{
	"success": true,
	"total": 107,
	"page_info": {
		"start_cursor": "WyIwMzU4NmNhMS1mMmJjLTQ2MDctYWE3Ni1jYWYyYTNlOWQ5ODciXQ==",
		"end_cursor": "WyI0MGUxMGE1MC00ZTYxLTQ0M2YtYmUzOC0xNmNjMzQ5NTM2NGUiXQ==",
		"has_previous_page": false,
		"has_next_page": true
	},
	"data": [...]
}

Using Cursor for pagination

To retrieve all data, it is recommended to use end_cursor with combination of after. Iterate through the list, until the has_next_page is false

{{baseUrl}}/entities/Opportunities?after=WyI0MGUxMGE1MC00ZTYxLTQ0M2YtYmUzOC0xNmNjMzQ5NTM2NGUiXQ==

Pagination done programatically

while has_next_page, do get_records(after=end_cursor)

API parameter
API Parameter