Policies

Get Condition Set Items

Changed on

Get all items in a condition set with pagination support.

get/v1/condition_sets/{condition_set_id}/condition_set_items

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/condition_sets/{condition_set_id}/condition_set_items
  • Auth
    HTTP basic

Path parameters

condition_set_idstring required

Query parameters

cursorstring

Cursor returned by the previous page.

limitinteger
querystring

Filter items by value containing the query string.

Headers

privy-app-idstring required

ID of your Privy app.

Response

Paginated list of condition set items.

next_cursorstring nullable required

Cursor for pagination. Null if there are no more items.

Example response

{
  "items": [
    {
      "id": "abc123xyz456def789ghi012",
      "condition_set_id": "qvah5m2hmp9abqlxdmfiht95",
      "value": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
      "created_at": 1761271537642
    }
  ]
}

Changes

    • breaking

      for the query request parameter limit, the type changed from number null to integer

    • warning

      for the query request parameter limit, the min was set to 1.00

    • warning

      for the query request parameter cursor, the maxLength was set to 512