Skip to content

Pagination

The Tolinku API uses limit-based pagination on endpoints that return collections.

List endpoints accept a limit query parameter to control the number of results returned:

GET /v1/api/analytics/events?limit=50
GET /v1/api/referral/leaderboard?limit=25
GET /v1/api/audiences/:id/users?limit=100
EndpointDefaultMaximum
GET /v1/api/analytics/events50200
GET /v1/api/referral/leaderboard25100
GET /v1/api/audiences/:id/users1001,000

List responses include the collection and a count:

{
"events": [ ... ],
}
{
"users": ["user_123", "user_456"],
"count": 2
}
{
"leaderboard": [
{ "referrer_id": "user_123", "completed_count": 15, "rank": 1 }
]
}
  • Most analytics endpoints return aggregate data (not paginated lists). The overview, funnel, timeseries, campaigns, and geo endpoints return complete result sets for the requested date range.
  • The export endpoint returns all events as a CSV file download, not a paginated JSON response.
  • Banner and message list endpoints return all active items (typically a small number) without pagination.