SwarmSync MFA API

The MFA API from SwarmSync — 4 operation(s) for mfa.

GitHub OpenAPI

Operations 4

GET /mfa/status Get MFA status for current user #
POST /mfa/setup Generate TOTP secret and QR code for MFA enrollment #
POST /mfa/enable Enable MFA after verifying TOTP token #
POST /mfa/disable Disable MFA after verifying TOTP 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/swarmsync-ai:swarmsync-ai-mfa-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

swarmsync-ai-mfa-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swarmsync Ai MFA API
  version: '1.0'
  contact:
    name: SwarmSync Support
    url: https://swarmsync.ai
    email: support@swarmsync.ai
  description: 'Operations tagged MFA across 2 of this provider''s published API definitions: swarmsync-ai-openapi-api.json, swarmsync-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:4000
  description: Local Development
- url: https://api.swarmsync.ai
  description: Production
tags:
- name: MFA
paths:
  /mfa/status:
    get:
      operationId: getStatus
      parameters: []
      responses:
        '200':
          description: MFA status
          content:
            application/json:
              schema:
                type: object
                properties:
                  enabled:
                    type: boolean
                  backupCodesRemaining:
                    type: number
      summary: Get MFA status for current user
      tags:
      - MFA
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /mfa/setup:
    post:
      operationId: setup
      parameters: []
      responses:
        '200':
          description: QR code data URL and manual entry key
          content:
            application/json:
              schema:
                type: object
                properties:
                  qrCodeDataUrl:
                    type: string
                  manualEntryKey:
                    type: string
      summary: Generate TOTP secret and QR code for MFA enrollment
      tags:
      - MFA
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /mfa/enable:
    post:
      operationId: enable
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - token
              properties:
                token:
                  type: string
                  description: 6-digit TOTP code from authenticator app
      responses:
        '200':
          description: MFA enabled. Backup codes returned (one-time display).
          content:
            application/json:
              schema:
                type: object
                properties:
                  backupCodes:
                    type: array
                    items:
                      type: string
      summary: Enable MFA after verifying TOTP token
      tags:
      - MFA
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /mfa/disable:
    post:
      operationId: disable
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - token
              properties:
                token:
                  type: string
                  description: 6-digit TOTP code from authenticator app
      responses:
        '200':
          description: MFA disabled
      summary: Disable MFA after verifying TOTP token
      tags:
      - MFA
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Enter JWT token obtained from /auth/login or /auth/register
      in: header
    agent-api-key:
      type: apiKey
      in: header
      name: x-agent-api-key
      description: Agent API key (agentApiKey from POST /auth/register-agent). Acts as that one agent.
x-refined-from:
- swarmsync-ai-openapi-api.json
- swarmsync-ai-openapi.json