Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to paginate through list endpoints
{ "data": [...], "pagination": { "total": 142, "limit": 25, "offset": 0, "has_more": true } }
total
limit
offset
has_more
sort
created_at:desc
field:direction
# Newest first (default) GET /events?sort=created_at:desc # Alphabetical by title GET /events?sort=title:asc
async function fetchAll(url, headers) { const results = []; let offset = 0; const limit = 100; while (true) { const response = await fetch(`${url}?limit=${limit}&offset=${offset}`, { headers }); const { data, pagination } = await response.json(); results.push(...data); if (!pagination.has_more) break; offset += limit; } return results; } const events = await fetchAll('https://api.tickable.io/events', { 'Authorization': 'Bearer tk_live_YOUR_API_KEY' });
import requests def fetch_all(url, headers): results = [] offset = 0 limit = 100 while True: response = requests.get(url, headers=headers, params={ 'limit': limit, 'offset': offset }) body = response.json() results.extend(body['data']) if not body['pagination']['has_more']: break offset += limit return results events = fetch_all('https://api.tickable.io/events', { 'Authorization': 'Bearer tk_live_YOUR_API_KEY' })
limit=100