APIs to onboard and manage users.
User Management API (v2)
Download OpenAPI description
Languages
Servers
Sandbox URL
https://api-ext-sboxmeta.partners.spotnana.com
Spotnana mock server
https://developer.spotnana.com/_mock/openapi/usersapi
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v3/users/{userId}/rbac-info
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/usersapi/v3/users/{userId}/rbac-info
- curl
- JavaScript
- Node.js
- Python
curl -i -X GET \
https://api-ext-sboxmeta.partners.spotnana.com/v3/users/1234a66b-7493-4f41-908c-58ba81093947/rbac-info \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'RBAC info for the user.
Flag indicating whether user has access to trips of other travelers.
Example: true
List of permissions with their associated actions for the user.
Permission
Enum"PLATFORM_MANAGEMENT""TMC_MANAGEMENT""COMPANY_MANAGEMENT""USER_MANAGEMENT""USER_PROFILE""EVENT_MANAGEMENT""REPORT_MANAGEMENT""ACCESS_MANAGEMENT""TRIP_MANAGEMENT""AGENT"
Example: "USER_MANAGEMENT"
Response
application/json
{ "hasOthersTripAccess": true, "permissions": [ { … } ] }