This endpoint creates a temporary token encoded in QR format, allowing devices to authenticate and register themselves to your profile by scanning the QR code. This provides a secure, user-friendly method for device onboarding without manually entering credentials.
Request
Authorization
API Key
Add parameter in header
X-DPT-AUTHORIZATION
Example:
X-DPT-AUTHORIZATION: ********************
or
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 POST 'https://sandbox.privicore.com:9009/profile/generate-token-qr' \
--header'X-DPT-AUTHORIZATION: <api-key>'