Skip to main content
Propose an intent to add items to a condition set or to replace all of its items. The condition set’s owner must authorize the intent. Privy rejects intents for a condition set with no owner. Update those condition sets directly instead. Each endpoint accepts the same request body as its synchronous counterpart (add items, replace items) but does not require authorization signatures in the request.
Intents expire 72 hours after creation by default. Signers must authorize them within this window.

Add items

Make a POST request to /v1/intents/condition_sets/{condition_set_id}/condition_set_items with the values to add. Values are unique within a condition set. Privy rejects the intent if any value already exists in the set.
View the API reference for adding items through an intent.

Replace items

Make a PUT request to /v1/intents/condition_sets/{condition_set_id}/condition_set_items with the full list of values. When the intent executes, Privy deletes every existing item and adds the values in the request. Any other change to the condition set’s items dismisses a pending replace intent. Propose a new intent with the updated list.
View the API reference for replacing items through an intent.

Next steps

Sign intents

Add authorization signatures to execute a proposed intent.

Intent status

Track an intent from proposal to execution.