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.
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
}'
{
"name": "Bob Blockchain",
"username": "bobblockchain",
"email": "bob@blockchain.domain",
"isAdmin": true,
"refreshToken": "ey...5s",
"id": 158,
"accessToken": "ey...0k",
"accessTokenExpiresIn": 900,
"refreshTokenExpiresIn": 604800
}
This response shows a tenant that does not require MFA enrollment. If tenant policy requires MFA, the response instead contains requiresMultiFactor: true, multiFactorToken, and purpose: "enroll"; complete that enrollment before expecting access and refresh tokens.
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.