{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Heffl Docs","colors":{"primary":"#57CC99","light":"#7DD9B3","dark":"#2E9B6B"},"logo":{"light":"https://mintcdn.com/heffl/4wx6JN6eh8igSfxL/logo/light.svg?fit=max\u0026auto=format\u0026n=4wx6JN6eh8igSfxL\u0026q=85\u0026s=36b147ee828bb406cdedd6ea4a785df7","dark":"https://mintcdn.com/heffl/4wx6JN6eh8igSfxL/logo/dark.svg?fit=max\u0026auto=format\u0026n=4wx6JN6eh8igSfxL\u0026q=85\u0026s=a274883d950650e5e99052a40f1d445e"},"favicon":"https://mintcdn.com/heffl/u9Ys6-OoGxMv7voN/favicon.ico?fit=max\u0026auto=format\u0026n=u9Ys6-OoGxMv7voN\u0026q=85\u0026s=c406e940100e0e4712a29c624a1d8c55","api":{"playground":{"proxy":false}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"heffl","hasAudioNarration":false,"actualSubdomain":"heffl","customDomains":["docs.heffl.com"],"gitSource":{"type":"github","owner":"marchcrm","repo":"heffl","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10cf729ffae5051c40a994"},"entitlements":{},"buildId":"6b1403eff5020f5ffd57d6fd","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"API v2","count":83},{"language":"default","tag":"Documentation","count":45},{"language":"default","tag":"Objects","count":42},{"language":"default","tag":"Legacy API (v1)","count":37},{"language":"default","tag":"Reference","count":31},{"language":"default","tag":"Forms","count":14},{"language":"default","tag":"Deals","count":13},{"language":"default","tag":"Overview","count":12},{"language":"default","tag":"Leads","count":10},{"language":"default","tag":"Tasks","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-v2/pagination","slug":"/api-v2/pagination","pageMetadata":{"title":"Pagination","description":"Cursor pagination in API v2","href":"/api-v2/pagination"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Cursor pagination in API v2\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`pagination`,children:`Pagination`}),`\n`,_jsx(_components.p,{children:`List endpoints in API v2 use cursor-based pagination with a consistent shape:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [ `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nextCursor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cursor_value_or_null\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hasMore\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cursor`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:_jsx(_components.em,{children:`none`})}),_jsxs(_components.td,{children:[`Cursor from the previous response (`,_jsx(_components.code,{children:`meta.nextCursor`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pageSize`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`30`}),_jsx(_components.td,{children:`Items per page (max 100)`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`API v2 uses `,_jsx(_components.code,{children:`pageSize`}),`. Legacy v1 list endpoints use `,_jsx(_components.code,{children:`limit`}),` instead.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.heffl.com/api/v2/contacts?pageSize=25\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Response:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"clt_abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CON001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"firstName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Jane\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Smith\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nextCursor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hasMore\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`https://docs.heffl.com/api-v2/listing-and-filters`,children:`Listing \u0026 filters`}),` for search, sorting, and structured filters.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Pagination","description":"Cursor pagination in API v2","href":"/api-v2/pagination"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Pagination","slug":"pagination","depth":1,"children":[]},{"title":"Query parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"heffl","siteName":"Heffl Docs","title":"Pagination - Heffl Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T10:22:17.058Z","originalFileLocation":"api-v2/pagination.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Cursor pagination in API v2\">\u003cmeta data-mint-head name=\"application-name\" content=\"Heffl Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/heffl/AkT_0L4FlDpNxq-O/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/heffl/AkT_0L4FlDpNxq-O/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/heffl/AkT_0L4FlDpNxq-O/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/heffl/AkT_0L4FlDpNxq-O/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/heffl/AkT_0L4FlDpNxq-O/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/heffl/AkT_0L4FlDpNxq-O/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/heffl/AkT_0L4FlDpNxq-O/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/heffl/AkT_0L4FlDpNxq-O/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/heffl/AkT_0L4FlDpNxq-O/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Pagination - Heffl Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cursor pagination in API v2\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Heffl Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.heffl.com/api-v2/pagination\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://heffl.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Pagination\u0026amp;description=Cursor+pagination+in+API+v2\u0026amp;theme=f06999ac1c2b33c520faddc0\u0026amp;signature=661a5dad2bb0ff320cbdf638cae7a5d99b5d6b0c362af91739d77e53467113f4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Pagination - Heffl Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cursor pagination in API v2\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://heffl.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Pagination\u0026amp;description=Cursor+pagination+in+API+v2\u0026amp;theme=f06999ac1c2b33c520faddc0\u0026amp;signature=661a5dad2bb0ff320cbdf638cae7a5d99b5d6b0c362af91739d77e53467113f4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/heffl/AkT_0L4FlDpNxq-O/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Heffl Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#57CC99\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.heffl.com/api-v2/pagination\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-v2/pagination.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.heffl.com/#organization\",\"name\":\"Heffl Docs\",\"url\":\"https://docs.heffl.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/heffl/4wx6JN6eh8igSfxL/logo/light.svg?fit=max\u0026auto=format\u0026n=4wx6JN6eh8igSfxL\u0026q=85\u0026s=36b147ee828bb406cdedd6ea4a785df7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.heffl.com#website\",\"name\":\"Heffl Docs\",\"url\":\"https://docs.heffl.com\",\"publisher\":{\"@id\":\"https://docs.heffl.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.heffl.com/api-v2/pagination#webpage\",\"url\":\"https://docs.heffl.com/api-v2/pagination\",\"name\":\"Pagination\",\"description\":\"Cursor pagination in API v2\",\"dateModified\":\"2026-12-02T10:22:17.058Z\",\"isPartOf\":{\"@id\":\"https://docs.heffl.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.heffl.com/api-v2/pagination#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.heffl.com/api-v2/pagination#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://docs.heffl.com/api-v2/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pagination\",\"item\":\"https://docs.heffl.com/api-v2/pagination\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.heffl.com/api-v2/pagination#article\",\"headline\":\"Pagination\",\"name\":\"Pagination\",\"description\":\"Cursor pagination in API v2\",\"url\":\"https://docs.heffl.com/api-v2/pagination\",\"mainEntityOfPage\":{\"@id\":\"https://docs.heffl.com/api-v2/pagination#webpage\"},\"dateModified\":\"2026-12-02T10:22:17.058Z\",\"publisher\":{\"@id\":\"https://docs.heffl.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.heffl.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Heffl Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Heffl Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-v2/pagination.md","siteName":"Heffl Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"file-doc","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API v2","groups":[{"group":"Overview","pages":[{"title":"API v2 Overview","tag":"Beta","href":"/api-v2/introduction"},{"title":"Agent workflows","href":"/api-v2/agent-workflows"},{"title":"Connect Heffl to AI (MCP)","href":"/api-v2/mcp"},{"title":"ID prefixes","href":"/api-v2/id-prefixes"},{"title":"Authentication","href":"/api-v2/authentication"},{"title":"Errors","description":"API v2 error format and codes","href":"/api-v2/errors"},{"title":"Pagination","href":"/api-v2/pagination"},{"title":"Listing \u0026 filters","description":"Search, pagination, sorting, and structured filters in API v2 list endpoints","href":"/api-v2/listing-and-filters"},{"title":"Custom fields","href":"/api-v2/custom-fields"},{"title":"Document templates","href":"/api-v2/document-templates"}]},{"group":"Objects","pages":[{"group":"Contacts","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /contacts","href":"/api-v2-reference/objects/list-contacts"},{"title":"Create contact","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /contacts","href":"/api-v2-reference/objects/create-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /contacts/{id}","href":"/api-v2-reference/objects/update-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /contacts/{id}","href":"/api-v2-reference/objects/delete-a-contact"}]},{"group":"Companies","pages":[{"title":"List companies","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /companies","href":"/api-v2-reference/objects/list-companies"},{"title":"Get a company","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /companies/{id}","href":"/api-v2-reference/objects/get-a-company"},{"title":"Create company","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /companies","href":"/api-v2-reference/objects/create-company"},{"title":"Update a company","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /companies/{id}","href":"/api-v2-reference/objects/update-a-company"},{"title":"Delete a company","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /companies/{id}","href":"/api-v2-reference/objects/delete-a-company"}]},{"group":"Deals","pages":[{"title":"List deals","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /deals","href":"/api-v2-reference/objects/list-deals"},{"title":"Get a deal","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /deals/{id}","href":"/api-v2-reference/objects/get-a-deal"},{"title":"Create deal","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /deals","href":"/api-v2-reference/objects/create-deal"},{"title":"Update a deal","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /deals/{id}","href":"/api-v2-reference/objects/update-a-deal"},{"title":"Delete a deal","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /deals/{id}","href":"/api-v2-reference/objects/delete-a-deal"}]},{"group":"Quotations","pages":[{"title":"List quotations","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /quotations","href":"/api-v2-reference/objects/list-quotations"},{"title":"Get a quotation","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /quotations/{id}","href":"/api-v2-reference/objects/get-a-quotation"},{"title":"Create quotation","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /quotations","href":"/api-v2-reference/objects/create-quotation"},{"title":"Update a quotation","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /quotations/{id}","href":"/api-v2-reference/objects/update-a-quotation"},{"title":"Delete a quotation","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /quotations/{id}","href":"/api-v2-reference/objects/delete-a-quotation"}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /tasks","href":"/api-v2-reference/objects/list-tasks"},{"title":"Get a task","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /tasks/{id}","href":"/api-v2-reference/objects/get-a-task"},{"title":"Create task","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /tasks","href":"/api-v2-reference/objects/create-task"},{"title":"Update a task","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /tasks/{id}","href":"/api-v2-reference/objects/update-a-task"},{"title":"Delete a task","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /tasks/{id}","href":"/api-v2-reference/objects/delete-a-task"}]},{"group":"Forms","pages":[{"title":"List forms","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /forms","href":"/api-v2-reference/objects/list-forms"},{"title":"Get a form","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /forms/{id}","href":"/api-v2-reference/objects/get-a-form"},{"title":"Create form","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /forms","href":"/api-v2-reference/objects/create-form"},{"title":"Update a form","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /forms/{id}","href":"/api-v2-reference/objects/update-a-form"},{"title":"Delete a form","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /forms/{id}","href":"/api-v2-reference/objects/delete-a-form"},{"title":"List form fields","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /forms/{id}/fields","href":"/api-v2-reference/objects/list-form-fields"},{"title":"Add a form field","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /forms/{id}/fields","href":"/api-v2-reference/objects/add-a-form-field"},{"title":"Update a form field","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /forms/{id}/fields/{key}","href":"/api-v2-reference/objects/update-a-form-field"},{"title":"Delete a form field","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /forms/{id}/fields/{key}","href":"/api-v2-reference/objects/delete-a-form-field"},{"title":"List form submissions","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /forms/{id}/submissions","href":"/api-v2-reference/objects/list-form-submissions"},{"title":"Create a form submission","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /forms/{id}/submissions","href":"/api-v2-reference/objects/create-a-form-submission"},{"title":"Get a form submission","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /forms/{id}/submissions/{submissionId}","href":"/api-v2-reference/objects/get-a-form-submission"},{"title":"Delete a form submission","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /forms/{id}/submissions/{submissionId}","href":"/api-v2-reference/objects/delete-a-form-submission"}]},{"group":"Projects","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /projects","href":"/api-v2-reference/objects/list-projects"},{"title":"Get a project","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /projects/{id}","href":"/api-v2-reference/objects/get-a-project"},{"title":"Create project","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /projects","href":"/api-v2-reference/objects/create-project"},{"title":"Update a project","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /projects/{id}","href":"/api-v2-reference/objects/update-a-project"},{"title":"Delete a project","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /projects/{id}","href":"/api-v2-reference/objects/delete-a-project"}]}]},{"group":"Reference","pages":[{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /tags","href":"/api-v2-reference/reference-data/list-tags"},{"title":"Create tag","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /tags","href":"/api-v2-reference/reference-data/create-tag"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /tags/{id}","href":"/api-v2-reference/reference-data/update-a-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /tags/{id}","href":"/api-v2-reference/reference-data/delete-a-tag"}]},{"group":"Users","pages":[{"title":"List users","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /users","href":"/api-v2-reference/reference-data/list-users"}]},{"group":"Client Stages","pages":[{"title":"List client stages","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /client-stages","href":"/api-v2-reference/reference-data/list-client-stages"},{"title":"Create client stage","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /client-stages","href":"/api-v2-reference/reference-data/create-client-stage"},{"title":"Update a client stage","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /client-stages/{id}","href":"/api-v2-reference/reference-data/update-a-client-stage"}]},{"group":"Lead Stages","pages":[{"title":"List lead stages","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /lead-stages","href":"/api-v2-reference/reference-data/list-lead-stages"},{"title":"Create lead stage","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /lead-stages","href":"/api-v2-reference/reference-data/create-lead-stage"},{"title":"Update a lead stage","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /lead-stages/{id}","href":"/api-v2-reference/reference-data/update-a-lead-stage"}]},{"group":"Products","pages":[{"title":"List products","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /products","href":"/api-v2-reference/reference-data/list-products"},{"title":"Get a product","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /products/{id}","href":"/api-v2-reference/reference-data/get-a-product"},{"title":"Create product","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /products","href":"/api-v2-reference/reference-data/create-product"},{"title":"Update a product","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /products/{id}","href":"/api-v2-reference/reference-data/update-a-product"},{"title":"Delete a product","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /products/{id}","href":"/api-v2-reference/reference-data/delete-a-product"}]},{"group":"Sources","pages":[{"title":"List sources","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /sources","href":"/api-v2-reference/reference-data/list-sources"},{"title":"Create source","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /sources","href":"/api-v2-reference/reference-data/create-source"},{"title":"Update a source","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /sources/{id}","href":"/api-v2-reference/reference-data/update-a-source"},{"title":"Delete a source","deprecated":null,"version":null,"openapi":"/openapi.v2.json delete /sources/{id}","href":"/api-v2-reference/reference-data/delete-a-source"}]},{"group":"Pipelines","pages":[{"title":"List deal pipelines","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /pipelines","href":"/api-v2-reference/reference-data/list-deal-pipelines"},{"title":"Get a deal pipeline","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /pipelines/{id}","href":"/api-v2-reference/reference-data/get-a-deal-pipeline"},{"title":"Create a deal pipeline","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /pipelines","href":"/api-v2-reference/reference-data/create-a-deal-pipeline"},{"title":"Update a deal pipeline","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /pipelines/{id}","href":"/api-v2-reference/reference-data/update-a-deal-pipeline"},{"title":"Add a stage to a deal pipeline","deprecated":null,"version":null,"openapi":"/openapi.v2.json post /pipelines/{id}/stages","href":"/api-v2-reference/reference-data/add-a-stage-to-a-deal-pipeline"},{"title":"Update a deal pipeline stage","deprecated":null,"version":null,"openapi":"/openapi.v2.json patch /pipeline-stages/{id}","href":"/api-v2-reference/reference-data/update-a-deal-pipeline-stage"}]},{"group":"Project pipelines","pages":[{"title":"List project pipelines","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /project-pipelines","href":"/api-v2-reference/reference-data/list-project-pipelines"},{"title":"Get a project pipeline","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /project-pipelines/{id}","href":"/api-v2-reference/reference-data/get-a-project-pipeline"}]},{"group":"Custom fields","pages":[{"title":"List custom field definitions","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /custom-fields","href":"/api-v2-reference/reference-data/list-custom-field-definitions"}]},{"group":"Document templates","pages":[{"title":"List document templates","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /document-templates","href":"/api-v2-reference/reference-data/list-document-templates"},{"title":"Get a document template","deprecated":null,"version":null,"openapi":"/openapi.v2.json get /document-templates/{id}","href":"/api-v2-reference/reference-data/get-a-document-template"}]}]}]},{"tab":"Legacy API (v1)","pages":[{"title":"Legacy API (v1)","href":"/api-reference/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Pagination - Heffl Docs","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":[],"chunks":[]}