Phasio User Authentication Controller API

Endpoints for managing user authentication and multi-factor authentication

Operations 4

GET /api/internal/v1/user-auth/mfa Begin multi-factor authentication setup #
POST /api/internal/v1/user-auth/mfa Complete multi-factor authentication setup #
DELETE /api/internal/v1/user-auth/mfa Disable multi-factor authentication #
PATCH /api/internal/v1/user-auth/password Change user password #

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/phasio-user-authentication-controller-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 email required.

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

OpenAPI Specification

phasio-user-authentication-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phasio Activity Internal User Authentication Controller API
  description: This is the API documentation for the Phasio application.
  version: '1.0'
servers:
- url: https://m-api.eu.phas.io
  description: Generated server url
security:
- Phasio API Bearer Token: []
tags:
- name: User Authentication Controller
  description: Endpoints for managing user authentication and multi-factor authentication
paths:
  /api/internal/v1/user-auth/mfa:
    get:
      tags:
      - User Authentication Controller
      summary: Begin multi-factor authentication setup
      description: Initiates the multi-factor authentication setup process and returns a QR code
      operationId: beginMultiFactorSetup
      parameters:
      - name: username
        in: query
        description: Username of the user whose password is being changed
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successfully generated MFA setup QR code
          content:
            application/octet-stream: {}
        '400':
          description: Invalid request or user not found
        '401':
          description: Unauthorized - missing or invalid authentication
        '403':
          description: Forbidden - insufficient permissions
    post:
      tags:
      - User Authentication Controller
      summary: Complete multi-factor authentication setup
      description: Completes the multi-factor authentication setup by verifying the provided code
      operationId: completeMultiFactorSetup
      parameters:
      - name: username
        in: query
        description: Username of the user whose password is being changed
        required: true
        schema:
          type: string
      - name: code
        in: query
        description: Verification code from authenticator app
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Multi-factor authentication successfully set up
        '400':
          description: Invalid verification code or user not found
        '401':
          description: Unauthorized - missing or invalid authentication
        '403':
          description: Forbidden - insufficient permissions
    delete:
      tags:
      - User Authentication Controller
      summary: Disable multi-factor authentication
      description: Disables multi-factor authentication for the current user
      operationId: deleteMultiFactorSetup
      parameters:
      - name: username
        in: query
        description: Username of the user whose password is being changed
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Multi-factor authentication successfully disabled
        '400':
          description: Invalid request or user not found
        '401':
          description: Unauthorized - missing or invalid authentication
        '403':
          description: Forbidden - insufficient permissions
  /api/internal/v1/user-auth/password:
    patch:
      tags:
      - User Authentication Controller
      summary: Change user password
      description: Changes the password for the current authenticated user
      operationId: changePassword
      parameters:
      - name: username
        in: query
        description: Username of the user whose password is being changed
        required: true
        schema:
          type: string
      - name: oldPass
        in: query
        description: Current password for verification
        required: true
        schema:
          type: string
      - name: newPass
        in: query
        description: New password to set
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Password successfully changed
        '400':
          description: Invalid password change request or incorrect old password
        '401':
          description: Unauthorized - missing or invalid authentication
        '403':
          description: Forbidden - insufficient permissions
components:
  securitySchemes:
    Phasio_API_Bearer_Token:
      type: http
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT