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
    • OAuth Application Management
    • 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
    • Public and Private Key Management
    • Generate your private and public keys
    • Register public key
    • Retrieve public key
    • Retrieve CAB public key
  • Data Token
    • Data Token Management
    • 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
    • Device Management
    • 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
    • Storage Device Management
    • Register storage device
    • List storage devices
    • Synchronize device
    • Remove storage
  • Verified authenticator
    • Authenticator and Voting Management
    • Register authenticator
    • List verified authenticators
    • Retrieve voting strategy
    • Set quorum size
    • Set quorum strategy
    • Set voting time limit
    • Set maximum voting attempts
    • Remove authenticator
    • Register voting configuration
    • Update voting configuration
    • List voting configurations
    • Retrieve voting configuration
  • Policy
    • Policy Management
    • List policy templates
    • Register policy
    • List active policies
    • List inactive policies
    • Activate policy
    • Deactivate policy
    • Delete policy
    • List registered policies
    • Retrieve registered policy
  • Voting
    • Voting Operations
    • Create voting
    • Check pool status
  • Schemas
    • Response
      • CommandAccepted
      • Unauthorized
      • ValidationErrors
    • Schemas
    • profileId
    • deviceIdentifier
    • directoryId
    • directoryName
    • directoryShortName
    • givenName
    • familyName
    • createdAt
    • meta
  1. Data Token

List data tokens

GET
/data-token/list-data-tokens

Overview#

Retrieve a paginated list of data tokens associated with your profile, with optional filtering by token attributes and metadata.

List Data Tokens#

Endpoint: GET /data-token/list-data-tokens
Authentication: Required (Authorization token obtained from the step)

Query Parameters#

ParameterTypeRequiredDescription
pageintegerNoPage number for pagination
perPageintegerNoNumber of tokens per page
filters[meta.file.fileName]stringNoFilter by file name
filters[meta.file.extension]stringNoFilter by file extension
filters[meta.data.type]stringNoFilter by data type
filters[context]stringNoFilter by context (path, namespace, or classification)
filters[token]stringNoFilter by specific token identifier

Supported Filters#

meta.file.fileName - File name metadata
meta.file.extension - File extension metadata
meta.data.type - Data type classification
context - Organizational context
token - Specific token identifier

Use Case#

Use this endpoint to retrieve and browse all data tokens associated with your profile. Pagination supports efficient handling of large token collections, while filters enable querying specific subsets based on token attributes and metadata. This is useful for:
Auditing all tokens in your profile
Building file browsing interfaces
Finding specific tokens by attributes
Managing token lifecycle across your application
The response includes token identifiers and configured metadata for each token.
Only tokens belonging to your profile are returned
Filters operate on configured metadata - tokens without metadata may not match
Use pagination for profiles with large numbers of tokens
Combine multiple filters to narrow results

Request

Authorization
API Key
Add parameter in header
X-DPT-AUTHORIZATION
Example:
X-DPT-AUTHORIZATION: ********************
or
Query Params

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 -g --request GET 'https://sandbox.privicore.com:9009/data-token/list-data-tokens?page&perPage&filters[meta.file.fileName]&filters[meta.file.extension]' \
--header 'X-DPT-AUTHORIZATION: <api-key>'

Responses

🟢200Success
application/json
OK
Body

Example
{
    "items": [
        {
            "id": "acb21f72-7915-4a63-aad1-c1a438729061",
            "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
    }
}
🟠401401
🟠422422
Modified at 2025-12-23 17:22:32
Previous
Configure file meta
Next
Update data token
Built with