Nonce in this request and "/oauth-application/retrieve-authorization-code" have to be the same, hence the variable
Example:
scope[]
array[string]
required
Feature scope used for permissions. Not in use for now.
Header Params
X-DPT-AUTHORIZATION
string
required
Profile authorization token.
Example:
Request 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://stage.privicore.com:9009/profile/oauth-application-request-authorization-code?client_id&nonce&scope[]' \
--header'X-DPT-AUTHORIZATION;'
Responses
🟢202Accepted
application/json
Command accepted. Use DPT CAB websocket server to subscribe to your profile channel via authorization token and receive command status messages.