Fermyon auth-tokens API

The auth-tokens API from Fermyon — 2 operation(s) for auth-tokens.

Operations 2

POST /api/auth-tokens
POST /api/auth-tokens/refresh

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/fermyon-auth-tokens-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

fermyon-auth-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fermyon Cloud accounts Auth Tokens API
  version: '1.0'
  description: OpenAPI 3.1 specification for the Fermyon Cloud REST API, derived from the public swagger.json published in the fermyon/cloud-openapi repository on GitHub.
servers:
- url: https://cloud.fermyon.com
  description: Fermyon Cloud production API
security:
- Bearer: []
tags:
- name: auth-tokens
paths:
  /api/auth-tokens:
    post:
      tags:
      - auth-tokens
      parameters:
      - name: Api-Version
        in: header
        description: The requested API version
        schema:
          type: string
          default: '1.0'
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/CreateTokenCommand'
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTokenCommand'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateTokenCommand'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateTokenCommand'
        required: true
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/TokenInfo'
            application/json:
              schema:
                $ref: '#/components/schemas/TokenInfo'
            text/json:
              schema:
                $ref: '#/components/schemas/TokenInfo'
  /api/auth-tokens/refresh:
    post:
      tags:
      - auth-tokens
      parameters:
      - name: Api-Version
        in: header
        description: The requested API version
        schema:
          type: string
          default: '1.0'
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/RefreshTokenCommand'
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshTokenCommand'
          text/json:
            schema:
              $ref: '#/components/schemas/RefreshTokenCommand'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RefreshTokenCommand'
        required: true
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/TokenInfo'
            application/json:
              schema:
                $ref: '#/components/schemas/TokenInfo'
            text/json:
              schema:
                $ref: '#/components/schemas/TokenInfo'
components:
  schemas:
    RefreshTokenCommand:
      required:
      - refreshToken
      - token
      type: object
      properties:
        token:
          minLength: 1
          type: string
        refreshToken:
          minLength: 1
          type: string
      additionalProperties: false
    CreateTokenCommand:
      type: object
      properties:
        providerCode:
          type: string
        clientId:
          type: string
        provider:
          $ref: '#/components/schemas/AccountProvider'
        isMarketingEmailOn:
          type: boolean
      additionalProperties: false
    AccountProvider:
      enum:
      - GitHub
      - DeviceFlow
      type: string
    TokenInfo:
      required:
      - expiration
      - refreshToken
      - token
      type: object
      properties:
        token:
          minLength: 1
          type: string
        refreshToken:
          minLength: 1
          type: string
        expiration:
          type: string
          format: date-time
          readOnly: true
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: 'JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"'
      name: Authorization
      in: header