Privicore
  1. Policy
Privicore
  • Privicore API
  • Utility
    • Utility
    • Check server health
      GET
    • Request command id status
      GET
  • Profile
    • Profile Model and Authentication Workflow
    • Register new profile
      POST
    • Authenticate
      POST
    • Retrieve profile id
      GET
    • Change password
      POST
    • Generate qr token for authorization
      POST
    • Reauthorize authorization token
      POST
    • Revoke authorization token
      POST
    • Retrieve token expiry
      POST
  • OAuth Application
    • OAuth Application Management
    • Register OAuth Application
      POST
    • Retrieve OAuth app configuration
      POST
    • Request OAuth app authorization code
      GET
    • Retrieve OAuth app authorization code
      POST
    • Obtain OAuth app access token
      POST
    • OAuth application list
      GET
    • Retrieve OAuth application scope
      GET
    • Refresh OAuth app access token
      POST
  • Public key
    • Public and Private Key Management
    • Generate your private and public keys
    • Register public key
    • Retrieve public key
    • Retrieve CAB public key
  • Data Token
    • Data Token Management
    • Reserve token space
    • Retrieve temporary data token
    • Exchange data for token
    • Upstream file via stream auth
    • Request data via token
    • Download data
    • Configure information security risk meta
    • Configure file meta
    • List data tokens
    • Update data token
    • Delete data
  • Device
    • Device Management
    • Request unique identifier (i.e. Register new device)
    • Retrieve unique identifier
    • Retrieve profile devices
    • Configure device meta
    • Approve device
    • Reject device
    • Retrieve device configuration
    • Remove device
  • Storage
    • Storage Device Management
    • Register storage device
    • List storage devices
    • Synchronize device
    • Remove storage
  • Verified authenticator
    • Authenticator and Voting Management
    • Register authenticator
    • List verified authenticators
    • Retrieve voting strategy
    • Set quorum size
    • Set quorum strategy
    • Set voting time limit
    • Set maximum voting attempts
    • Remove authenticator
    • Register voting configuration
    • Update voting configuration
    • List voting configurations
    • Retrieve voting configuration
  • Policy
    • Policy Management
    • List policy templates
      GET
    • Register policy
      POST
    • List active policies
      GET
    • List inactive policies
      GET
    • Activate policy
      POST
    • Deactivate policy
      POST
    • Delete policy
      POST
    • List registered policies
      GET
    • Retrieve registered policy
      GET
  • Voting
    • Voting Operations
    • Create voting
    • Check pool status
  • Schemas
    • Response
      • CommandAccepted
      • Unauthorized
      • ValidationErrors
    • Schemas
    • profileId
    • deviceIdentifier
    • directoryId
    • directoryName
    • directoryShortName
    • givenName
    • familyName
    • createdAt
    • meta
  1. Policy

List registered policies

GET
/policy/list-policies

Overview#

Retrieve a paginated list of all registered policies under your profile, with optional filtering by status and name.

List Registered Policies#

Endpoint: GET /policy/list-policies
Authentication: Required (Authorization token obtained from the step)

Query Parameters#

ParameterTypeRequiredDescription
pageintegerNoPage number for pagination
perPageintegerNoNumber of policies per page
filters[active]booleanNoFilter by active (true) or inactive (false) status. Omit to return both
filters[name]stringNoFilter by policy name

Use Case#

Use this endpoint to retrieve all policies registered under your profile, regardless of active/inactive state. This provides a comprehensive view of your authorization configuration.
The response includes for each policy:
Policy identifier and name
Active/inactive status
Template used to create the policy
Events that trigger the policy
Configuration parameters
Associated voting configuration
Voting attributes
This is useful for:
Comprehensive policy inventory and auditing
Managing large numbers of policies with pagination
Finding specific policies by name
Filtering policies by state (active/inactive)
Understanding complete authorization landscape
Filter Examples:
filters[active]=true - Only active policies
filters[active]=false - Only inactive policies
filters[name]=login-mfa-policy - Policies matching name
Omit filters - All registered policies
Returns both active and inactive policies unless filtered
Use pagination for profiles with many policies
Filter by active state to focus on enforced vs. suspended policies
Filter by name to find specific policies quickly
Combine filters to narrow results

Request

Authorization
API Key
Add parameter in header
X-DPT-AUTHORIZATION
Example:
X-DPT-AUTHORIZATION: ********************
or
Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://sandbox.privicore.com:9009/policy/list-policies?page&perPage&filters[active]&filters[name]' \
--header 'X-DPT-AUTHORIZATION: <api-key>'

Responses

🟢200Success
application/json
OK
Body

Example
{
    "items": [
        {
            "id": "example_policy_id",
            "name": "example_name",
            "policyId": "template_id",
            "votingConfigurationId": "245ce32f-e838-42ad-92ed-df93dbe0edab",
            "configuration": [
                "string"
            ],
            "active": 1,
            "applyingEventIds": [
                "string"
            ],
            "createdAt": "2025-02-10T10:03:06+00:00"
        }
    ],
    "meta": {
        "page": 1,
        "perPage": 25,
        "count": 1,
        "maxPage": 1
    }
}
🟠401401
🟠422422
Modified at 2025-12-31 12:20:45
Previous
Delete policy
Next
Retrieve registered policy
Built with