Authelia User Information API

User configuration endpoints

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/user/info Get my user profile and 2FA settings · User Configuration #
Ask an LLM
“What display name and preferred second factor method do I have set?”
“Which second factor methods are registered on my account?”
Tell an agent
Show my user info.
Get my display name and preferred 2FA method.
POST /api/user/info Save my user profile settings · User Configuration #
Ask an LLM
“How do I save my user configuration settings?”
“Does posting user info also validate my preferred second factor?”
Tell an agent
Save my user info settings.
Ensure my preferred second factor method is configured correctly.
POST /api/user/info/2fa_method Set my preferred second factor method · User Configuration #
Ask an LLM
“How do I change which second factor method I prefer?”
“Can I set my preferred 2FA method through the API?”
Tell an agent
Set my preferred second factor method to {method}.
Make {method} my preferred 2FA method.

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/authelia:authelia-user-information-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

authelia-user-information-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Authelia User Information API
  description: Authelia is an open-source authentication and authorization server and portal fulfilling the identity and access management (IAM) role of information security in providing multi-factor authentication and single sign-on (SSO) for your applications via a web portal. Authelia is an OpenID Connect 1.0 Provider which is OpenID Certified™ allowing comprehensive integrations, and acts as a companion for common reverse proxies.
  contact:
    name: Support
    url: https://www.authelia.com/contact/
    email: team@authelia.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: 1.0.0
servers:
- url: https://auth.example.com
  description: Authelia API
tags:
- name: User Information
  description: User configuration endpoints
paths:
  /api/user/info:
    get:
      operationId: getUserInfo
      tags:
      - User Information
      summary: User Configuration
      description: The user info endpoint provides detailed information including a users display name, preferred and registered second factor method(s).
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.UserInfo'
        '403':
          description: Forbidden
      security:
      - authelia_auth: []
    post:
      operationId: postUserInfo
      tags:
      - User Information
      summary: User Configuration
      description: The user info endpoint provides detailed information including a users display name, preferred and registered second factor method(s). The POST method also ensures the preferred method is configured correctly.
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.UserInfo'
        '403':
          description: Forbidden
      security:
      - authelia_auth: []
  /api/user/info/2fa_method:
    post:
      operationId: postUserInfoSecondFactorMethod
      tags:
      - User Information
      summary: User Configuration
      description: The user info 2fa_method endpoint sets the users preferred second factor method.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/handlers.UserInfo.MethodBody'
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/middlewares.Response.OK'
        '403':
          description: Forbidden
      security:
      - authelia_auth: []
components:
  schemas:
    handlers.UserInfo:
      type: object
      properties:
        status:
          type: string
          examples:
          - OK
        data:
          type: object
          properties:
            display_name:
              type: string
              examples:
              - John Doe
            emails:
              description: The users email addresses in a partially redacted form.
              type: array
              items:
                type: string
              examples:
              - - j******e@example.com
            method:
              type: string
              enum:
              - totp
              - webauthn
              - mobile_push
              examples:
              - totp
            has_webauthn:
              type: boolean
              examples:
              - false
            has_totp:
              type: boolean
              examples:
              - true
            has_duo:
              type: boolean
              examples:
              - true
    handlers.UserInfo.MethodBody:
      required:
      - method
      type: object
      properties:
        method:
          type: string
          enum:
          - totp
          - webauthn
          - mobile_push
          examples:
          - totp
    middlewares.Response.OK:
      type: object
      required:
      - status
      properties:
        status:
          enum:
          - OK
          type: string
          examples:
          - OK
        data:
          type: object
          description: The data content for the response.
  securitySchemes:
    authelia_auth:
      type: apiKey
      name: authelia_session
      in: cookie
    openid:
      type: openIdConnect
      openIdConnectUrl: https://auth.example.com/.well-known/openid-configuration