List Policies

GET /v2/policies

Retrieves a list of policies.

Required Permissions

NameConditions

Policies:Read

Always Required

Parameters

Query parameters

Query string parameterRequired/OptionalDescriptionType

limit

Optional

Maximum number of items to return. Default to 20.

Positive Integer

paginationToken

Optional

Opaque token used to retrieve the next page. Returned as nextPageToken from the previous request.

String

status

Optional

Either Active or Archived.

Enumerated Type

Response

Response example

{
  "items": [
    {
      "id": "plc-...",
      "name": "Transfer Limit",
      "rule": {
        "kind": "TransactionAmountLimit",
        "configuration": {
          "currency": "EUR",
          "limit": "1000"
        }
      },
      "status": "Active",
      "filters": {
        "id": {
          "in": [
            "wa-..."
          ]
        }
      },
      "activityKind": "Wallets:Sign",
      "action": {
        "kind": "RequestApproval",
        "approvalGroups": [
          {
            "name": "Admins",
            "quorum": 1,
            "approvers": {
              "userId": {
                "in": [
                  "us-..."
                ]
              }
            }
          }
        ],
        "autoRejectTimeout": 60
      },
      "dateCreated": "2023-12-22T20:57:55.814Z",
      "dateResolved": "2023-12-22T20:57:55.814Z"
    }
  ],
  "nextPageToken": "ZxZ..."
}

Last updated