Skip to main content
GET
/
lists
List lists
curl --request GET \
  --url https://apix.spotzee.com/api/client/lists \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": 91,
      "project_id": 42,
      "name": "Newsletter subscribers — Q2 2026",
      "type": "static",
      "state": "draft",
      "version": 3,
      "is_visible": true,
      "created_at": "<string>",
      "updated_at": "<string>",
      "rule": {
        "uuid": "b1f4a2c8-3d9e-4a1b-9b3a-1f0c8d4e2a91",
        "type": "wrapper",
        "group": "user",
        "path": "data.country",
        "operator": "<string>",
        "id": 123,
        "root_uuid": "<string>",
        "parent_uuid": "<string>",
        "value": "<string>",
        "frequency": {
          "period": {
            "type": "rolling",
            "unit": "hour",
            "value": 123
          },
          "operator": "=",
          "count": 123
        },
        "children": "<array>"
      },
      "rule_id": 123,
      "users_count": 12584,
      "tags": [
        "<string>"
      ],
      "refreshed_at": "<string>"
    }
  ],
  "nextCursor": "<string>",
  "prevCursor": "<string>",
  "limit": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Project-scoped secret API key (sk_…). Pass in the Authorization: Bearer <key> header. Grants access to the project the key was issued for.

Query Parameters

cursor
string

Opaque cursor returned by a previous page response. Omit on the first request.

page
enum<string>

Direction to walk relative to cursor. Defaults to next when omitted.

Available options:
next,
prev
limit
integer | null
default:25

Maximum results per page. Use -1 to request all (rate-limited; large pages may be rejected).

Required range: -1 <= x <= 100
Example:

25

sort
string

Field to sort by. Defaults vary per resource.

Example:

"created_at"

direction
enum<string>

Sort direction. Defaults vary per resource.

Available options:
asc,
desc
q
string

Free-text search across the resource’s indexed fields.

Response

A page of lists.

Paginated response of Lists.

results
object[]
required

Page of results, ordered per the request’s sort and direction.

nextCursor
string | null
required

Opaque cursor for the next page. null when no further pages exist.

prevCursor
string | null
required

Opaque cursor for the previous page. null when on the first page.

limit
integer
required

Page size used to build this response.