Spotnana Users API

APIs to onboard and manage users.

GitHub OpenAPI

Operations 26

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/users Onboard a new user profile · Create user #
Ask an LLM
“How do I add a new traveler profile to Spotnana?”
“Can I set a preferred billing currency and tier when creating a user?”
Tell an agent
Create a {persona} user with personal info {personalInfo} and business info {businessInfo}.
Onboard a new traveler {personalInfo} with tier {tier} and billing currency {billingCurrency}.
GET /v2/users Find a user by email or external ID · Query user #
Ask an LLM
“How do I find a user in a company by their email address?”
“Can I include inactive users when looking up a traveler profile?”
Tell an agent
Find the user with email {email} in company {companyId}.
Look up user {externalId} for company {companyId} with inactive users included.
POST /v3/users/list List users of a company or TMC · List users #
Ask an LLM
“How do I list all users at a company or TMC?”
“Can I search users by text and sort the results?”
Tell an agent
List users of company {companyId} sorted by {sort}.
Find users matching {searchText} at TMC {tmcId}.
GET /v2/users/{userId} Get a user's profile · Get user #
Ask an LLM
“What details are stored for a single traveler profile?”
“Can I fetch a user's profile including inactive ones?”
Tell an agent
Get the profile of user {userId}.
Show user {userId} including inactive users: {includeInactive}.
DELETE /v2/users/{userId} Delete a user profile · Delete user #
Ask an LLM
“How do I remove a traveler profile from Spotnana?”
“Can I delete a user by their ID?”
Tell an agent destructive · confirm first
Delete user {userId}.
Remove the traveler profile {userId} from the system.
PUT /v2/users/{userId} Update a user's profile and preferences · Update user #
Ask an LLM
“How do I update a traveler's personal or business details?”
“Can a user's membership status, tier and notification preferences be changed?”
Tell an agent
Update user {userId} with business info {businessInfo} and persona {persona}.
Change user {userId}'s tier to {tier} and set notification preferences {notificationPreferences}.
GET /v2/users/{userId}/business-info Get a user's business details · Get user business info #
Ask an LLM
“What department, office and manager is a traveler assigned to?”
“Can I read a user's business info including inactive users?”
Tell an agent
Get the business info of user {userId}.
Show user {userId}'s department and office, including inactive users: {includeInactive}.
PUT /v2/users/{userId}/business-info Update a user's business details · Update user business info #
Ask an LLM
“How do I change a traveler's department or manager?”
“Can I update a user's cost center and accounting code?”
Tell an agent
Update user {userId}'s business info with department {departmentRef} and office {officeRef}.
Set the cost center of user {userId} to {costCenterRef}.
GET /v2/users/{userId}/personal-info Get a user's personal details · Get user personal info #
Ask an LLM
“What is a traveler's date of birth and emergency contact?”
“Can I read a user's personal info including inactive users?”
Tell an agent
Get the personal info of user {userId}.
Show user {userId}'s emergency contact, including inactive users: {includeInactive}.
PUT /v2/users/{userId}/personal-info Update a user's personal details · Update user personal info #
Ask an LLM
“How do I add a profile picture or change a traveler's gender?”
“Can I update a user's emergency contact and phone numbers?”
Tell an agent
Update user {userId}'s personal info with name {name} and gender {gender}.
Set the emergency contact of user {userId} to {emergencyContact}.
GET /v2/users/{userId}/travel-preferences Get a user's travel preferences · Get user travel preferences #
Ask an LLM
“What are a traveler's preferred airline, seat and class?”
“Can I read a user's travel preferences?”
Tell an agent
Get the travel preferences of user {userId}.
Show user {userId}'s preferred class and seat.
PUT /v2/users/{userId}/travel-preferences Update a user's travel preferences · Update user travel preferences #
Ask an LLM
“How do I change a traveler's preferred airline or seat?”
“Can I update a user's travel preferences?”
Tell an agent
Update user {userId}'s travel preferences to {preferences}.
Set the preferred class of user {userId} to {preferences}.
GET /v2/users/{userId}/membership-info Get a user's loyalty program memberships · Get user membership info #
Ask an LLM
“Which loyalty programs is a traveler enrolled in?”
“Can I read a user's membership info?”
Tell an agent
Get the membership info of user {userId}.
Show user {userId}'s loyalty program memberships.
PUT /v2/users/{userId}/membership-info Update a user's loyalty program memberships · Update user membership info #
Ask an LLM
“How do I enroll a traveler in a new loyalty program?”
“Can I block a user from using loyalty programs?”
Tell an agent
Update user {userId}'s membership info with {membershipInfos}.
Block loyalty use for user {userId} by setting loyalty blocked to {isLoyaltyBlocked}.
PUT /v2/users/{userId}/roles Update a user's roles · Update user roles #
Ask an LLM
“How do I change a traveler's roles?”
“Can I assign new roles to a user?”
Tell an agent
Update user {userId}'s roles to {roles}.
Assign roles {roles} to traveler {userId}.
GET /v2/users/{userId}/roles Get a user's roles · Get user roles #
Ask an LLM
“What roles does a traveler have in Spotnana?”
“Can I read a user's roles?”
Tell an agent
Get the roles of user {userId}.
Show which roles user {userId} holds.
GET /v2/users/{userId}/notification-preferences Get a user's notification preferences · Get notification preferences #
Ask an LLM
“Which notifications does a traveler receive and how?”
“Can I read a user's notification preferences?”
Tell an agent
Get the notification preferences of user {userId}.
Show how user {userId} receives notifications.
PUT /v2/users/{userId}/notification-preferences Update a user's notification preferences · Update notification preferences #
Ask an LLM
“How do I change how a traveler is notified of booking changes?”
“Can I update a user's notification preferences?”
Tell an agent
Update user {userId}'s notification preferences to {preferences}.
Change how user {userId} is notified using {preferences}.
GET /v2/users/{userId}/travel-arrangers Get a user's travel arrangers · Get user travel arrangers #
Ask an LLM
“Who arranges travel for a traveler?”
“Can I read a user's travel arrangers?”
Tell an agent
Get the travel arrangers of user {userId}.
Show who arranges travel for traveler {userId}.
GET /v2/users/{userId}/external-id Get a user's partner-assigned external ID · Get user's external ID #
Ask an LLM
“What external ID did my partner assign to a traveler?”
“Can I read a user's external ID?”
Tell an agent
Get the external ID of user {userId}.
Show the partner-assigned ID for traveler {userId}.
PUT /v2/users/{userId}/external-id Update a user's external ID · Update user's external ID #
Ask an LLM
“How do I change the partner-assigned ID on a traveler's profile?”
“Is the external ID required to be unique across all travelers in a PNR?”
Tell an agent
Update the external ID of user {userId} to {externalId}.
Set user {userId}'s partner ID to {externalId}.
POST /v2/users/{userId}/activate Reactivate a deactivated user · Activate a user #
Ask an LLM
“Can I bring back a user who was deactivated?”
“What happens to a user's data when I reactivate them?”
Tell an agent
Activate user {userId}.
Reactivate the deactivated traveler {userId}.
POST /v2/users/{userId}/favorites Add a favorite for a user · Add favorite #
Ask an LLM
“How do I save a favorite company or legal entity for a user?”
“Can I add a trip as a favorite?”
Tell an agent
Add a {type} favorite named {displayName} for user {userId}.
Save {displayName} as a {type} favorite for user {userId}.
GET /v2/users/{userId}/favorites List a user's favorites · List favorites #
Ask an LLM
“What favorite companies, legal entities and trips does a user have?”
“Can I search a user's favorites by display name?”
Tell an agent
List favorites for user {userId}.
Find favorites of type {types} for user {userId} matching {query}.
DELETE /v2/users/{userId}/favorites/{favoriteId} Remove a user's favorite · Remove favorite #
Ask an LLM
“How do I remove a favorite from a user's profile?”
“Can I delete one favorite item without clearing all favorites?”
Tell an agent destructive · confirm first
Remove favorite {favoriteId} from user {userId}.
Delete the {favoriteId} favorite of user {userId}.
GET /v2/users/{userId}/applicable-policies List policies applicable to a user · Get user policies #
Ask an LLM
“Which travel policies apply to a given user?”
“What policy rules does a traveler fall under?”
Tell an agent
List applicable policies for user {userId}.
Show the policy rules that apply to traveler {userId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spotnana:spotnana-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spotnana-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: User Management Users API
  version: v2
  description: APIs to onboard and manage users.
servers:
- url: https://api-ext-sboxmeta.partners.spotnana.com
  description: Sandbox URL
security:
- Bearer: []
tags:


# --- truncated at 32 KB (93 KB total) ---
# Full source: https://artifacts.apis.io/spotnana/openapi/spotnana-users-api-openapi.yml