This is a mandatory step for profile activation. After obtaining an authorization token through authentication, you must register a valid signed public key before you can perform any system operations. The public key format must match the structure described in the overview: version tag (4 bytes) + Curve25519 public key (32 bytes) + BLAKE2b hash (64 bytes), all hex-encoded.
Public key registration is required only once per profile The key must be in the signed format (200 hex characters) Your profile cannot access protected resources until a public key is registered To change your public key, register a new one (the system will update the existing registration)
Request
Authorization
API Key
Add parameter in header
X-DPT-AUTHORIZATION
Example:
X-DPT-AUTHORIZATION: ********************
or
Header Params
Body Params application/x-www-form-urlencoded
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/public-key/register-public-key' \
--header'X-DPT-AUTHORIZATION: <api-key>' \
--data-urlencode'publicKey='