Attuitive
  • Welcome
  • Getting Started
    • Quickstart
  • Basics
    • Workspaces
    • Events & Actions
    • Identifiers & Traits
  • API Reference
    • Introduction
    • Authentication
    • Error handling
    • Pagination
    • Request IDs
    • Identify
    • Track
    • Distill
Powered by GitBook
On this page
  • Parameters
  • Response
  1. API Reference

Pagination

Some resources return collections of data and hence support pagination to chunk these results as they are returned. These results follow a standard approach.

For pagination-enabled endpoints, collections will be returned within a data property. This is a JSON array of results that can be iterated through. A meta property holds pagination information such as nextPageUrl, previousPageUrl, and limit.

{
  "data": [
    {
      ...
    }
    ...
  ],
  "meta": {
    "limit": 50,
    "nextPageUrl": "/api/v1/identify?limit=50...", // or null
    "previousPageUrl": "/api/v1/identify?limit=50...", // or null
    "url": "/api/v1/identifiy?limit=50"
  }
}

Parameters

Name
Type
Description

limit

number

Maximum number of results to return between 1 & 100. Defaults to 50

pageToken

string

Token for the page to retrieve. Available on requests with multiple pages of results. Starts with ey...

Response

Name
Type
Description

data

array

Collection of results which varies depending on the resource

meta

object

Pagination related details

meta.limit

string

Number of results requested

meta.nextPageUrl

string (or null)

URL to the next page of results or null if there is no next page

meta.previousPageUrl

string (or null)

URL to the previous page of results or null if there is no previous page

meta.url

string (or null)

URL to the current page of results.

PreviousError handlingNextRequest IDs

Last updated 25 days ago