Skip to main content
List endpoints use cursor pagination. Send limit to choose the page size and use the returned cursor to request the next page.
curl "https://app.openlight.tech/api/creator/v1/brands?limit=25" \
  -H "Authorization: Bearer $OPENLIGHT_API_TOKEN" \
  -H "Accept: application/json"
Responses include the current page of resources and pagination metadata. When a next cursor is present, pass it in the next request to continue.
{
  "data": [],
  "pagination": {
    "limit": 25,
    "next_cursor": "eyJpZCI6IjEyMyJ9",
    "has_more": true
  }
}
Cursor values are opaque. Store and send them exactly as returned instead of parsing or modifying them.