SparkGlim Developer
Read the whole list, correctly.
Pagination, filtering and sorting belong to each endpoint’s contract. Use only the query fields and continuation metadata that operation actually returns.
Use the endpoint reference
Open the list operation’s parameter table before building a paginator. Some endpoints return a bounded collection without a shared page, cursor or sort convention.
Fields and formats
Pass documented filters in their specified query format. Preserve campaign and account scope; a filter cannot widen permissions or make an unpublished record public.
Lists and continuation
Read returned continuation and total fields only when present. Keep an unavailable total distinct from zero, and stop requesting pages according to the documented response.
Keep the integration dependable
When filters change, reset local continuation and discard stale results. Keep loading and error states separate from an empty collection, and preserve the visitor’s language and country context.