---
title: "Create Condition Set Items"
method: PUT
path: "/v1/condition_sets/{condition_set_id}/condition_set_items"
tags: ["Policies"]
---

# Create Condition Set Items

`PUT /v1/condition_sets/{condition_set_id}/condition_set_items`

Replace all items in a condition set by condition set ID. Can add up to 100 items at once.

## Path parameters

- `condition_set_id` string, required

## Headers

- `privy-app-id` string, required — ID of your Privy app.
- `privy-authorization-signature` string — Request authorization signature. If multiple signatures are required, they should be comma separated.
- `privy-request-expiry` string — Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.

## Request body

- ConditionSetItemValueInput[] — Array of values to add to the condition set. Maximum 100 items per request.
  - `value` string, required

## Response `200`

Array of condition set items after replacement.

- ConditionSetItem[] — Array of condition set items.
  - `condition_set_id` string, required — Unique ID of the condition set this item belongs to.
  - `created_at` number, required — Unix timestamp of when the condition set item was created in milliseconds.
  - `id` string, required — Unique ID of the created condition set item.
  - `value` string, required — The value stored in this condition set item.

---

[API](https://skmtc.dev/privy-io/apis/privy-api.md) · [All operations](https://skmtc.dev/privy-io/apis/privy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/privy-io/privy-api/revisions/bb2eb34156cc/schema)
