JustGains Auth API

The Auth API from JustGains — 5 operation(s) for auth.

GitHub OpenAPI

Operations 5

POST /api/auth/register Create api auth register #
POST /api/auth/login Create api auth login #
GET /api/auth/me Get api auth me #
POST /api/auth/refresh Create api auth refresh #
POST /api/auth/logout Create api auth logout #

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/justgains-com:justgains-com-auth-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

justgains-com-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: JustGains Auth API
  version: '1.0'
security:
- Bearer: []
tags:
- name: Auth
paths:
  /api/auth/register:
    post:
      tags:
      - Auth
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/RegisterDto'
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterDto'
          text/json:
            schema:
              $ref: '#/components/schemas/RegisterDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RegisterDto'
      responses:
        '200':
          description: OK
      summary: Create api auth register
      x-summary-source: derived
      operationId: postApiAuthRegister
      x-operation-id-source: derived
  /api/auth/login:
    post:
      tags:
      - Auth
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/UserDto'
          application/json:
            schema:
              $ref: '#/components/schemas/UserDto'
          text/json:
            schema:
              $ref: '#/components/schemas/UserDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UserDto'
      responses:
        '200':
          description: OK
      summary: Create api auth login
      x-summary-source: derived
      operationId: postApiAuthLogin
      x-operation-id-source: derived
  /api/auth/me:
    get:
      tags:
      - Auth
      responses:
        '200':
          description: OK
      summary: Get api auth me
      x-summary-source: derived
      operationId: getApiAuthMe
      x-operation-id-source: derived
  /api/auth/refresh:
    post:
      tags:
      - Auth
      responses:
        '200':
          description: OK
      summary: Create api auth refresh
      x-summary-source: derived
      operationId: postApiAuthRefresh
      x-operation-id-source: derived
  /api/auth/logout:
    post:
      tags:
      - Auth
      responses:
        '200':
          description: OK
      summary: Create api auth logout
      x-summary-source: derived
      operationId: postApiAuthLogout
      x-operation-id-source: derived
components:
  schemas:
    RegisterDto:
      required:
      - Email
      - Password
      - Username
      type: object
      properties:
        Username:
          minLength: 1
          type: string
        Email:
          minLength: 1
          type: string
          format: email
        Password:
          minLength: 1
          type: string
        FirstName:
          maxLength: -1
          type:
          - string
          - 'null'
        LastName:
          maxLength: -1
          type:
          - string
          - 'null'
        RedirectUrl:
          maxLength: -1
          type:
          - string
          - 'null'
      additionalProperties: false
    UserDto:
      required:
      - Email
      - Password
      type: object
      properties:
        Email:
          minLength: 1
          type: string
          format: email
        Password:
          minLength: 1
          type: string
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: http
      description: Put **_ONLY_** your JWT Bearer token on the textbox below!
      scheme: Bearer
      bearerFormat: JWT