Privicore
  1. Verified authenticator
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
      POST
    • List verified authenticators
      GET
    • Retrieve voting strategy
      GET
    • Set quorum size
      POST
    • Set quorum strategy
      POST
    • Set voting time limit
      POST
    • Set maximum voting attempts
      POST
    • Remove authenticator
      POST
    • Register voting configuration
      POST
    • Update voting configuration
      POST
    • List voting configurations
      GET
    • Retrieve voting configuration
      GET
  • Policy
    • Policy Management
    • List policy templates
    • Register policy
    • List active policies
    • List inactive policies
    • Activate policy
    • Deactivate policy
    • Delete policy
    • List registered policies
    • Retrieve registered policy
  • Voting
    • Voting Operations
    • Create voting
    • Check pool status
  • Schemas
    • Response
      • CommandAccepted
      • Unauthorized
      • ValidationErrors
    • Schemas
    • profileId
    • deviceIdentifier
    • directoryId
    • directoryName
    • directoryShortName
    • givenName
    • familyName
    • createdAt
    • meta
  1. Verified authenticator

Register voting configuration

POST
/verified-authenticator/voting-configuration/register

Overview#

Create a new voting configuration with specific parameters that can be applied to particular operations or workflows.

Register Voting Configuration#

Endpoint: POST /verified-authenticator/voting-configuration/register
Authentication: Required (Authorization token obtained from the step)
Content-Type: application/json

Request Parameters#

ParameterTypeRequiredDescription
namestringYesUnique name for the voting configuration
timeLimitintegerYesTime limit for voting in seconds
strategystringYesVoting strategy to use
percentageRequiredintegerNoMinimum vote percentage (0-100) for minimum_percentage strategy
deviceIdentifiersarray[string]YesAuthenticator device identifiers. Empty array applies to all profile Authenticators
Available Strategies:
StrategyDescriptionpercentageRequired
unanimousAll responding Authenticators must vote "yes"Not used
consensusMajority of responding Authenticators must vote "yes"Not used
affirmativeAt least one Authenticator must vote "yes"Not used
minimum_percentageSpecific percentage must vote "yes"Required (e.g., 75)

Use Case#

Use this endpoint to create named voting configurations for specific operation types or workflows. This enables:
Operation-specific configurations: Different voting rules for login vs. account deletion
Device-specific voting: Limit voting to specific Authenticators for certain operations
Reusable configurations: Create once, apply to multiple operation types
Configuration management: Named configurations are easier to track and update
Examples:
High-security configuration:
{
  "name": "high-security",
  "timeLimit": 300,
  "strategy": "unanimous",
  "deviceIdentifiers": []
}
Quick approval configuration:
{
  "name": "quick-approval",
  "timeLimit": 60,
  "strategy": "affirmative",
  "deviceIdentifiers": ["device-123", "device-456"]
}
Custom threshold configuration:
{
  "name": "two-thirds-approval",
  "timeLimit": 180,
  "strategy": "minimum_percentage",
  "percentageRequired": 67,
  "deviceIdentifiers": []
}
Configuration names must be unique within your profile
Empty deviceIdentifiers array applies configuration to all profile Authenticators
Specify device identifiers to limit voting to specific Authenticators
percentageRequired is only used with minimum_percentage strategy
Configurations can be applied to specific operations via policies
Update existing configurations using the update voting configuration endpoint

Request

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

Body Params application/json

Example
{
    "name": "default",
    "timeLimit": 60,
    "strategy": "unanimous",
    "percentageRequired": null,
    "deviceIdentifiers": [
        ""
    ]
}

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 --request POST 'https://sandbox.privicore.com:9009/verified-authenticator/voting-configuration/register' \
--header 'X-DPT-AUTHORIZATION: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "default",
    "timeLimit": 60,
    "strategy": "unanimous",
    "percentageRequired": null,
    "deviceIdentifiers": [
        ""
    ]
}'

Responses

🟢202Success
This response does not have a body.
🟠401401
🟠422422
Modified at 2025-12-30 11:36:32
Previous
Remove authenticator
Next
Update voting configuration
Built with