Privicore
  1. Data Token
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
    • 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
    • Generate your private and public keys
    • Register public key
    • Retrieve public key
    • Retrieve CAB public key
  • Data Token
    • Reserve token space
      POST
    • Retrieve temporary data token
      GET
    • Exchange data for token
      POST
    • Upstream file via stream auth
      POST
    • Request data via token
      POST
    • Download data
      GET
    • Configure information security risk meta
      POST
    • Configure file meta
      POST
    • List data tokens
      GET
    • Update data token
      POST
    • Delete data
      POST
  • Device
    • Request unique identifier (i.e. Register new device)
    • Retrieve unique identifier
    • Retrieve profile devices
    • Configure device meta
    • Approve device
    • Reject device
    • Retrieve device configuration
    • Remove device
  • Storage
    • Register storage device
    • List storage devices
    • Synchronize device
    • Remove storage
  • Verified authenticator
    • Register authenticator
    • List verified authenticators
    • Retrieve voting strategy
    • Set quorum size
    • Set quorum strategy
    • Set voting time limit
    • Set maximum voting attempts
    • Remove authenticator
  • Policy
    • List policy templates
    • Register policy
    • List active policies
    • List inactive policies
    • Activate policy
    • Deactivate policy
    • Delete 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
  1. Data Token

List data tokens

GET
/data-token/list-data-tokens
Data Token
List data tokens

Request

Query Params
page
integer 
optional
Example:
offset
integer 
optional
Example:
filters[meta.file.fileName]
string 
optional
Example:
filters[meta.file.extension]
string 
optional
Example:
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 --request GET 'https://stage.privicore.com:9009/data-token/list-data-tokens' \
--header 'X-DPT-AUTHORIZATION;'

Responses

🟢200OK
application/json
OK
Body
items
array [object {7}] 
optional
token
string 
optional
Example:
example_data_token
profileId
string 
optional
Registered profile id.
Example:
example_profile_id
context
string 
optional
Example:
example_context
dataSize
integer 
optional
Example:
15
outputType
enum<integer> 
optional
0 for plain text value, 1 for file
Allowed values:
01
meta
array[string]
optional
createdAt
string 
optional
Created at.
Example:
2025-02-10T10:03:06+00:00
meta
object (meta) 
optional
page
integer 
optional
Example:
1
perPage
integer 
optional
Example:
25
count
integer 
optional
Example:
1
maxPage
integer 
optional
Example:
1
Example
{
  "items": [
    {
      "token": "example_data_token",
      "profileId": "example_profile_id",
      "context": "example_context",
      "dataSize": 15,
      "outputType": 0,
      "meta": [
        "string"
      ],
      "createdAt": "2025-02-10T10:03:06+00:00"
    }
  ],
  "meta": {
    "page": 1,
    "perPage": 25,
    "count": 1,
    "maxPage": 1
  }
}
🟠401Unauthorized
🟠422Parameter Error
Previous
Configure file meta
Next
Update data token
Built with