Policies

List policies in an app, excluding rules.

get/v1/policies

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/policies
  • Auth
    HTTP basic

Query parameters

cursorstring

Cursor returned by the previous page.

limitinteger

Headers

privy-app-idstring required

ID of your Privy app.

Response

Policies in the app, with pagination.

next_cursorstring nullable required

Cursor for the next page. Null when there are no further pages.

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

    • breaking

      the // response property's maxLength was increased from 50 to 100 for the response status