Policies

Get Condition Set

Changed on

Get a condition set by condition set ID.

get/v1/condition_sets/{condition_set_id}

Request

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

Path parameters

condition_set_idstring required

Headers

privy-app-idstring required

ID of your Privy app.

Response

Requested condition set object.

idstring required

Unique ID of the created condition set. This will be the primary identifier when using the condition set in the future.

namestring required

Name of the condition set.

owner_idstring cuid2 required

A unique identifier for a key quorum.

created_atnumber required

Unix timestamp of when the condition set was created in milliseconds.

Example response

{
  "id": "qvah5m2hmp9abqlxdmfiht95",
  "name": "Approved Recipients",
  "owner_id": "asgkan0r7gi0wdbvf9cw8qio",
  "created_at": 1761271537642
}

Changes

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      added subschema #2 to the response property anyOf list for the response status