Privicore
  1. Device
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)
      POST
    • Retrieve unique identifier
      POST
    • Retrieve profile devices
      GET
    • Configure device meta
      POST
    • Approve device
      POST
    • Reject device
      POST
    • Retrieve device configuration
      GET
    • Remove device
      POST
  • 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
    • List policy templates
    • Register policy
    • List active policies
    • List inactive policies
    • Activate policy
    • Deactivate policy
    • Delete policy
    • List registered policies
    • Retrieve registered policy
  • Directory
    • Register Directory
    • Retrieve owned Directories
    • Retrieve assigned directories
    • Retrieve Directory
    • Create Directory User
    • Update user information
    • Invite Profile
    • Set profile password
    • List Directory Invites
    • Process Invitation
    • Retrieve directory profile
    • List directory users
    • Directory profiles info
    • Create profile device
    • Add storage device to profile
    • List directory devices
    • Create directory voting pool
    • Store directory meta information
  • Voting
    • Create voting
    • Check pool status
  • Schemas
    • Response
      • CommandAccepted
      • Unauthorized
      • ValidationErrors
    • Schemas
    • profileId
    • deviceIdentifier
    • directoryId
    • directoryName
    • directoryShortName
    • givenName
    • familyName
    • createdAt
    • meta
  1. Device

Retrieve device configuration

GET
/device/retrieve-device-configuration/{deviceIdentifier}

Overview#

Retrieve the complete configuration for a registered device, including credentials and connection details.

Retrieve Device Configuration#

Endpoint: GET /device/retrieve-device-configuration/{deviceIdentifier}
Authentication: Required (Authorization token obtained from the step)

Path Parameters#

ParameterTypeRequiredDescription
deviceIdentifierstringYesThe unique device identifier

Response Fields#

FieldDescription
device-identifierUnique device identifier
client-idOAuth client ID for device authentication
client-secretOAuth client secret for device authentication
rabbit-userRabbitMQ username for message queue access
rabbit-passRabbitMQ password for message queue access
rabbit-hostRabbitMQ server host address
rabbit-portRabbitMQ server port number

Use Case#

Use this endpoint to retrieve all configuration details necessary for a device to connect and communicate with Privicore. The response includes:
OAuth Credentials: Client ID and secret for device authentication
Message Queue Configuration: RabbitMQ connection details for receiving encrypted data (Storage devices) and ballots (Authenticator devices)
Storage devices use the RabbitMQ configuration to listen for incoming encrypted data when data tokens are exchanged. Authenticator devices use it to receive ballots for voting workflows.
Store all credentials securely on the device
Client secret and RabbitMQ credentials are sensitive - treat as passwords
RabbitMQ connection enables real-time communication between Privicore and devices
Configuration is required for device to become operational

Request

Authorization
API Key
Add parameter in header
X-DPT-AUTHORIZATION
Example:
X-DPT-AUTHORIZATION: ********************
or
Path 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 --request GET 'https://sandbox.privicore.com:9009/device/retrieve-device-configuration/' \
--header 'X-DPT-AUTHORIZATION: <api-key>'

Responses

🟢200Success
application/json
OK
Body

Example
{
    "device-identifier": "example_device_identifier",
    "client-id": "example_client_id",
    "client-secret": "example_client_secret",
    "rabbit-user": "rabbit_username",
    "rabbit-pass": "rabbit_password",
    "rabbit-host": "rabbit_host",
    "rabbit-port": "rabbit_port"
}
🟠403403
🟠404404
Modified at 2025-12-25 09:34:23
Previous
Reject device
Next
Remove device
Built with