UpsellGuru Users API

users with access to UpsellGuru Extranet

GitHub OpenAPI

Operations 4

GET /users Get users #
POST /users Create user #
POST /users/{userId} Update user #
POST /users/generate_access_token/{userId} Generate user access token #

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/upsellguru:upsellguru-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

upsellguru-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UpsellGuru Public Users API
  version: 1.0.0
  description: users with access to UpsellGuru Extranet
servers:
- url: https://api.upsellguru.com
tags:
- name: Users
  description: users with access to UpsellGuru Extranet
paths:
  /users:
    get:
      tags:
      - Users
      operationId: getUsers
      parameters:
      - in: query
        name: hotelId
        required: false
        description: The Hotel ID
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArrayOfUser'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Get users
      x-summary-source: derived
    post:
      tags:
      - Users
      operationId: createUser
      description: Create a new user
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BasicUser'
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Create user
      x-summary-source: derived
  /users/{userId}:
    post:
      tags:
      - Users
      operationId: updateUser
      parameters:
      - in: path
        name: userId
        required: true
        description: The User ID
        schema:
          type: integer
      description: Update an existing user
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BasicUser'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Update user
      x-summary-source: derived
  /users/generate_access_token/{userId}:
    post:
      tags:
      - Users
      operationId: generateUserAccessToken
      parameters:
      - in: path
        name: userId
        required: true
        description: The User ID
        schema:
          type: integer
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserAccessToken'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Generate user access token
      x-summary-source: derived
components:
  schemas:
    User:
      allOf:
      - $ref: '#/components/schemas/BasicUser'
      - type: object
        properties:
          id:
            type: integer
          createdAt:
            type: string
            format: date-time
          updatedAt:
            type: string
            format: date-time
          lastLoginAt:
            type: string
            format: date-time
          status:
            $ref: '#/components/schemas/UserStatus'
    UserAccessToken:
      type: object
      properties:
        accessToken:
          type: string
    Error:
      type: object
      properties:
        type:
          type: string
        message:
          type: string
    UserStatus:
      type: string
      enum:
      - ACTIVE
      - DELETED
      - PENDING
      - SUSPENDED
      - CONFIRMED
      - TEMP_LOCKED
      - LOCKED
    ArrayOfUser:
      type: array
      items:
        $ref: '#/components/schemas/User'
    BasicUser:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/BasicUserStatus'
        name:
          type: string
        surname:
          type: string
        email:
          type: string
          format: email
        hotelIds:
          type: array
          items:
            type: integer
    BasicUserStatus:
      type: string
      enum:
      - ACTIVE
      - SUSPENDED
      - DELETED
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key