Skip to content

Provisioning Dashboard Users

Create Client Dashboard users for sub-clients with the client API key.

Partners can programmatically create Client Dashboard users for registered tenants. These users can sign in to https://dashboard.cryptoswift.eu and access the tenant's Travel Rule transactions, wallet verifications, and dashboard features.

Create a Dashboard User

Use POST /users against the regular Client API, authenticated with the tenant's generated client apiKey.

Use the client API key

Switch from the X-Partner-Api-Key header to the explicit client x-api-key header when creating users. POST /users is a Client API endpoint, not a Partner API endpoint.

curl --location 'https://api-dev.cryptoswift.eu/users' \
  --header 'x-api-key: <client-api-key>' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "name": "Bob Blockchain",
    "username": "bobblockchain",
    "email": "bob@blockchain.domain",
    "password": "SomeStrongPassword!",
    "isAdmin": true
  }'

Successful response:

{
  "name": "Bob Blockchain",
  "username": "bobblockchain",
  "email": "bob@blockchain.domain",
  "isAdmin": true,
  "refreshToken": "ey...5s",
  "id": 158,
  "accessToken": "ey...0k",
  "accessTokenExpiresIn": 900,
  "refreshTokenExpiresIn": 604800
}

Creating dashboard users is optional. Partners can instead build their own interface and call CryptoSwift APIs internally, but every Client Dashboard feature is also available through the API.