Waitlist API reference

Waitlist API · Waitlist-Variants

get/v1/workspaces/{workspace_id}/waitlists/{waitlist_id}/variantsAuth

List variants on a waitlist

Cursor-paginated, in (kind, locale, created_at) order. This endpoint used to return a bare JSON array; it returns the standard `{ data, pagination }` envelope.

Path parameters

workspace_id*string · uuid

Id of the workspace.

waitlist_id*string · uuid

Id of the waitlist.

Query parameters

limitinteger

Page size. Defaults to 20; values above 100 are clamped to 100.

cursorstring

Opaque cursor from the previous page's `pagination.next_cursor`. Omit for the first page.

Response · 200 Page of variants in (kind, locale, created_at) order with a pagination cursor.

data*array

The variants on this page.

pagination*object
next_cursor*string

Opaque cursor for the next page. `null` when no more pages are available.

Example: "eyJwb3NpdGlvbiI6MjB9"

has_more*boolean

True iff another page exists; if true, pass `next_cursor` on the next request.

Example: false

Example

Request

GET https://api.waitlist.productcraft.co/v1/workspaces/{workspace_id}/waitlists/{waitlist_id}/variants
Authorization: Bearer YOUR_TOKEN

Response

{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "waitlist_id": "00000000-0000-0000-0000-000000000000",
      "kind": {},
      "locale": "string",
      "copy": {
        "display_name": "Accès anticipé"
      },
      "weight": 0,
      "active": false,
      "created_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "pagination": {
    "next_cursor": "eyJwb3NpdGlvbiI6MjB9",
    "has_more": false
  }
}