Admin session login and management for organization users
https://sandbox.finhub.cloudf3a4b5c6-d7e8-49f0-1a2b-3c4d5e6f7a8be2f3a4b5-c6d7-48e9-0f1a-2b3c4d5e6f7a97e7ff29-15f3-49ef-9681-3bbfcce4f6cd)application/jsonapplication/json)petr.dvorak@cloudvault.iocvK_9XDw5g_Y_8aUtRQgPyX4aTBb| Field | Type | Description |
|---|---|---|
sessionId | string | Unique session identifier (UUID) |
userId | string | User ID for this session |
token | string | JWT access token for API authentication |
refreshToken | string | Token for refreshing the session |
expiresAt | string | ISO 8601 timestamp when token expires |
success | boolean | Always true for successful responses |
message | string | Human-readable success message |
token contains:
bffbff-clientstenantId: Tenant identifiercustomerId: Organization/customer IDuserId: User identifieruserType: "ADMIN"roles: Array of user roles (e.g., ["ADMIN"])token in all subsequent API requests:
Authorization header with the Bearer prefix.
expiresAt timestamp), use the refreshToken to obtain a new access token without requiring the user to re-authenticate.
tenantKey or tenantSecret in request body
Solution: Ensure all required authentication fields are included:
| Version | Date | Changes |
|---|---|---|
| v2.1 | 2026-01-13 | Initial release |
Browser user agent
"Mozilla/5.0"
Client/application Ip address
"192.168.0.1"
Client/application identifier for request source tracking
"playground"
Tenant identifier
"97e7ff29-15f3-49ef-9681-3bbfcce4f6cd"
Client platform identifier. Also accepted as sec-ch-ua-platform
"web"
Device identifier
"e2e-test-device"
Organization identifier (UUID)
"b4c3d4e7-f8a9-0123-b4c5-d6e7f8a9012b"
User identifier (UUID)
"87b3af37-4ac1-402b-a0ea-53cfdc695e02"
Login username or email
"admin@finsei.com"
Login password
"Admin@97e7ff29-15f3-49ef-9681-3bbfcce4f6cd"
Tenant-level authentication key
"z6B8H1XAeYSxZbuIlAT1NIRh6Aga"
Tenant-level authentication secret
"zb9anCFp2f2UJNWlGhtB8brsgAca"