APIs to onboard and manage users.
API reference
/User management
/- Update notification preferences
Create user
Query user
List users
Get user
Delete user
Update user
Get user business info
Update user business info
Get user personal info
Update user personal info
Get user travel preferences
Update user travel preferences
Get user membership info
Update user membership info
Update user roles
Get user roles
Get notification preferences
Get user travel arrangers
Get user's external ID
Update user's external ID
Activate a user
Get user policies
Update notification prefe...
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/v2/users/{userId}/notification-preferences
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/usersapi/v2/users/{userId}/notification-preferences
- curl
- JavaScript
- Node.js
- Python
curl -i -X GET \
https://api-ext-sboxmeta.partners.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947/notification-preferences \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "preferences": [ { … } ] }
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/users/{userId}/notification-preferences
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/usersapi/v2/users/{userId}/notification-preferences
- curl
- JavaScript
- Node.js
- Python
curl -i -X PUT \
https://api-ext-sboxmeta.partners.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947/notification-preferences \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"preferences": [
{
"notificationType": "FLIGHT_NOTIFICATION",
"emailPreference": {
"enabled": true,
"ccEmails": [
"user@example.com"
]
}
}
]
}'- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/users/{userId}/travel-arrangers
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/usersapi/v2/users/{userId}/travel-arrangers
- curl
- JavaScript
- Node.js
- Python
curl -i -X GET \
https://api-ext-sboxmeta.partners.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947/travel-arrangers \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'