Retrieve temporary data token.
After this step, either request plain text store on /data-token/exchange-data-for-token or upstream a file with stream auth to {stream_server_id}:{stream_server_port}?auth={stream}
X-DPT-AUTHORIZATION: ********************curl --location --request GET 'https://sandbox.privicore.com:9009/data-token/retrieve-temporary-data-token/' \
--header 'X-DPT-AUTHORIZATION: <api-key>'{
"uuid": "example_uuid",
"createdAt": "2025-02-10T10:03:06+00:00",
"token": "example_token",
"stream": "auth=asjdf3kajsdkfj2123",
"context": "example_context",
"meta": [
{
"information_security_risk": {
"classification": "top-secret",
"label": "example-label",
"handling": "example-handling"
},
"file": {
"fileName": "exampleFileName",
"context": "exampleContext",
"extension": "pdf",
"size": 123123,
"path": "example/path"
},
"data": {
"type": "cloud-drive"
}
}
]
}