Phasio Customer Authentication API

Internal endpoints for managing customer authentication

Operations 2

POST /api/internal/v1/customer-auth/principal Get customer authentication by principal #
PATCH /api/internal/v1/customer-auth/{customerId} Update customer authentication #

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-customer-authentication-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-customer-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phasio Activity Internal Customer Authentication 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: Customer Authentication
  description: Internal endpoints for managing customer authentication
paths:
  /api/internal/v1/customer-auth/principal:
    post:
      tags:
      - Customer Authentication
      summary: Get customer authentication by principal
      description: Retrieves authentication information for a customer using their principal identifier
      operationId: getCustomerAuth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerRequestDto'
        required: true
      responses:
        '200':
          description: Successfully retrieved customer authentication
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerAuthDto'
        '404':
          description: Customer not found
        '500':
          description: Operator not found
  /api/internal/v1/customer-auth/{customerId}:
    patch:
      tags:
      - Customer Authentication
      summary: Update customer authentication
      description: Updates authentication method and credentials for a specific customer
      operationId: updateCustomerAuth
      parameters:
      - name: customerId
        in: path
        description: ID of the customer to update
        required: true
        schema:
          type: integer
          format: int64
        example: 123
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerAuthDto'
        required: true
      responses:
        '204':
          description: Successfully updated customer authentication
        '401':
          description: Unauthorized - missing or invalid authentication
        '403':
          description: Forbidden - insufficient permissions
        '404':
          description: Customer not found
components:
  schemas:
    CustomerAuthDto:
      type: object
      description: Customer authentication data
      properties:
        authMethod:
          type: string
        passwordHash:
          type: string
      required:
      - authMethod
    CustomerRequestDto:
      type: object
      description: Customer request data containing the principal
      properties:
        customerPrincipal:
          type: string
      required:
      - customerPrincipal
  securitySchemes:
    Phasio_API_Bearer_Token:
      type: http
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT