Gensmo Users API

The Users API from Gensmo, for users.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

GET /api/users Get all users #
POST /api/users Create a new user #
POST /api/users/login User login #
GET /api/users/{userId} Get user by ID #
PUT /api/users/{userId} Update user #
DELETE /api/users/{userId} Delete user #

Specifications

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

gensmo-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Operation Evaluation System Users API
  version: 1.0.0
  description: API for operation evaluation system
servers:
- url: /
  description: API server
tags:
- name: Users
paths:
  /api/users:
    get:
      tags:
      - Users
      summary: Get all users
      parameters:
      - name: limit
        in: query
        description: Maximum number of users to return
        schema:
          type: integer
          default: 100
      - name: page
        in: query
        description: Page number
        schema:
          type: integer
          default: 1
      responses:
        '200':
          description: List of users
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        userId:
                          type: string
                        name:
                          type: string
                        email:
                          type: string
                        role:
                          type: string
                          enum:
                          - admin
                          - evaluator
                          - normal
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      limit:
                        type: integer
      operationId: getApiUsers
      x-operation-id-source: derived
    post:
      tags:
      - Users
      summary: Create a new user
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - email
              - password
              properties:
                name:
                  type: string
                email:
                  type: string
                  format: email
                password:
                  type: string
                  format: password
                role:
                  type: string
                  enum:
                  - admin
                  - evaluator
                  - normal
                  default: normal
      responses:
        '201':
          description: User created successfully
        '400':
          description: Invalid input or email already exists
      operationId: postApiUsers
      x-operation-id-source: derived
  /api/users/login:
    post:
      tags:
      - Users
      summary: User login
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - email
              - password
              properties:
                email:
                  type: string
                  format: email
                password:
                  type: string
                  format: password
      responses:
        '200':
          description: Login successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      user:
                        type: object
                        properties:
                          userId:
                            type: string
                          name:
                            type: string
                          email:
                            type: string
                          role:
                            type: string
        '401':
          description: Invalid credentials
      operationId: postApiUsersLogin
      x-operation-id-source: derived
  /api/users/{userId}:
    get:
      tags:
      - Users
      summary: Get user by ID
      parameters:
      - name: userId
        in: path
        required: true
        description: ID of the user to get
        schema:
          type: string
      responses:
        '200':
          description: User details
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      userId:
                        type: string
                      name:
                        type: string
                      email:
                        type: string
                      role:
                        type: string
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
        '404':
          description: User not found
      operationId: getApiUsersByUserId
      x-operation-id-source: derived
    put:
      tags:
      - Users
      summary: Update user
      parameters:
      - name: userId
        in: path
        required: true
        description: ID of the user to update
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                role:
                  type: string
                  enum:
                  - admin
                  - evaluator
                  - normal
                password:
                  type: string
                  format: password
      responses:
        '200':
          description: User updated successfully
        '404':
          description: User not found
      operationId: putApiUsersByUserId
      x-operation-id-source: derived
    delete:
      tags:
      - Users
      summary: Delete user
      parameters:
      - name: userId
        in: path
        required: true
        description: ID of the user to delete
        schema:
          type: string
      responses:
        '200':
          description: User deleted successfully
        '404':
          description: User not found
      operationId: deleteApiUsersByUserId
      x-operation-id-source: derived