Authelia Authentication API

Authentication endpoints

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 25

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

POST /api/firstfactor Log in with username and password · Login #
Ask an LLM
“How do I log in to Authelia with a username and password?”
“Can I keep my session alive after logging in?”
Tell an agent
Log in as {username} with password {password}.
Log in as {username} with {password} and keep me logged in: {keepMeLoggedIn}.
POST /api/firstfactor/reauthenticate Reauthenticate a user without a username · Reauthenticate #
Ask an LLM
“How do I ask a logged-in user to prove they still know their password?”
“Can I re-authenticate a user without asking for their username again?”
Tell an agent
Reauthenticate me as {user} with password {password}.
Re-authenticate so I can reach {targetURL} with password {password}.
GET /api/firstfactor/passkey Start passkey first factor · First Factor Authentication - Passkey #
Ask an LLM
“How do I start passkey authentication for the first factor?”
“Can a WebAuthn passkey be used to log in?”
Tell an agent
Start the first factor passkey login.
Get passkey options for the first factor.
POST /api/firstfactor/passkey Complete passkey first factor · First Factor Authentication - Passkey #
Ask an LLM
“How do I finish passkey login with the FIDO2 assertion?”
“Can I complete the first factor with a WebAuthn credential?”
Tell an agent
Complete the first factor passkey login with assertion {response}.
Log in with passkey assertion {response} and keep me logged in: {keepMeLoggedIn}.
POST /api/logout Log out and destroy the session · Logout #
Ask an LLM
“How do I log out and clear my session?”
“Can I force a session to end?”
Tell an agent destructive · confirm first
Log out and destroy my session.
Log out and return to {targetURL}.
GET /api/secondfactor/totp/register Get TOTP registration details · TOTP Configuration Register #
Ask an LLM
“What does a user need to set up TOTP two-factor authentication?”
“Where do I fetch the TOTP URI and QR code for registration?”
Tell an agent
Get the TOTP configuration details.
Fetch the TOTP register data for setup.
PUT /api/secondfactor/totp/register Create a temporary TOTP configuration · TOTP Configuration Register #
Ask an LLM
“How do I generate a temporary TOTP configuration before validating it?”
“Can I choose the TOTP period and digits?”
Tell an agent
Create a temporary TOTP configuration with period {period}.
Generate a temporary TOTP configuration with {length} digits and period {period}.
POST /api/secondfactor/totp/register Validate a TOTP setup token · TOTP Configuration Register #
Ask an LLM
“How do I confirm the TOTP token I generated?”
“What happens if my TOTP setup token is wrong?”
Tell an agent
Validate TOTP setup with token {token}.
Confirm TOTP registration with {token}.
DELETE /api/secondfactor/totp/register Discard a temporary TOTP setup · TOTP Configuration Register #
Ask an LLM
“How do I throw away a TOTP setup I haven't validated yet?”
“Does deleting the temporary TOTP configuration affect my saved TOTP?”
Tell an agent destructive · confirm first
Delete my temporary TOTP configuration.
Discard the unvalidated TOTP setup.
GET /api/secondfactor/totp Get TOTP configuration details · TOTP Configuration #
Ask an LLM
“What period and digits does my TOTP configuration use?”
“How long is a TOTP token valid?”
Tell an agent
Get my TOTP configuration details.
Show the TOTP period and digits for my account.
POST /api/secondfactor/totp Enter a TOTP second factor · Second Factor Authentication - TOTP #
Ask an LLM
“How do I enter my TOTP token for two-factor authentication?”
“Can I validate a TOTP token for a specific target URL?”
Tell an agent
Enter TOTP token {token}.
Validate TOTP {token} for {targetURL}.
DELETE /api/secondfactor/totp Remove my TOTP configuration · Second Factor Authentication - TOTP #
Ask an LLM
“How do I remove two-factor authentication with TOTP?”
“Can I delete my TOTP configuration from the database?”
Tell an agent destructive · confirm first
Delete my TOTP configuration.
Remove two-factor TOTP from my account.
GET /api/secondfactor/webauthn Start WebAuthn second factor · Second Factor Authentication - WebAuthn #
Ask an LLM
“How do I start WebAuthn second factor authentication?”
“Can I begin a second factor with a FIDO2 credential?”
Tell an agent
Start the second factor WebAuthn login.
Get WebAuthn options for the second factor.
POST /api/secondfactor/webauthn Complete WebAuthn second-factor login · Second Factor Authentication - WebAuthn #
Ask an LLM
“How do I finish a WebAuthn second factor login with the browser's FIDO2 response?”
“Can I finish a WebAuthn login using the response from a FIDO2 authenticator?”
Tell an agent
Finish the WebAuthn login with response {response}.
Complete WebAuthn second factor for flow {flow}.
GET /api/secondfactor/webauthn/credentials List my WebAuthn credentials · WebAuthn Credentials #
Ask an LLM
“Which WebAuthn credentials are registered on my account?”
“How do I see the FIDO2 credentials I've registered?”
Tell an agent
List my WebAuthn credentials.
Show the FIDO2 credentials registered for my account.
PUT /api/secondfactor/webauthn/credential/register Start WebAuthn credential registration · WebAuthn Credential Registration (Attestation) #
Ask an LLM
“How do I start registering a new WebAuthn credential?”
“Can I give a description to a WebAuthn credential I'm registering?”
Tell an agent
Start registering a WebAuthn credential described as {description}.
Begin WebAuthn credential registration with description {description}.
POST /api/secondfactor/webauthn/credential/register Register a WebAuthn credential · WebAuthn Credential Registration (Attestation) #
Ask an LLM
“How do I register a WebAuthn security key for a user?”
“Can I finish WebAuthn credential registration with the authenticator's raw ID?”
Tell an agent
Register WebAuthn credential {id} with type {type}.
Finalize WebAuthn registration for authenticator {rawId}.
DELETE /api/secondfactor/webauthn/credential/register Discard WebAuthn registration data · WebAuthn Credential Registration (Attestation) #
Ask an LLM
“How do I throw away WebAuthn registration data I haven't finalized?”
“Does deleting WebAuthn registration data affect my saved credentials?”
Tell an agent destructive · confirm first
Delete my WebAuthn registration data.
Discard the unvalidated WebAuthn credential registration.
PUT /api/secondfactor/webauthn/credential/{credentialID} Rename a WebAuthn credential · WebAuthn Credential #
Ask an LLM
“How do I rename a WebAuthn credential I already registered?”
“Can I change the description of a registered WebAuthn credential?”
Tell an agent
Rename WebAuthn credential {credentialID} to {description}.
Update the description of WebAuthn credential {credentialID} to {description}.
DELETE /api/secondfactor/webauthn/credential/{credentialID} Delete a WebAuthn credential · WebAuthn Credential #
Ask an LLM
“How do I remove a WebAuthn credential from my account?”
“Can I delete a registered FIDO2 credential?”
Tell an agent destructive · confirm first
Delete WebAuthn credential {credentialID}.
Remove FIDO2 credential {credentialID} from my account.
GET /api/secondfactor/duo Get the preferred Duo push device · Second Factor Authentication - Duo Mobile Push #
Ask an LLM
“Which Duo device and method is my user's preferred second factor?”
“Can I check the Duo push settings before sending a push?”
Tell an agent
Show my preferred Duo device and method.
Get the user's Duo second factor settings.
POST /api/secondfactor/duo Send a Duo push second factor · Second Factor Authentication - Duo Mobile Push #
Ask an LLM
“How do I send a Duo push notification for second factor?”
“Can I pass a passcode or user code along with a Duo push?”
Tell an agent
Send a Duo push second factor for flow {flow}.
Send a Duo push with passcode {passcode} for user code {userCode}.
GET /api/secondfactor/duo_devices List available Duo devices · Second Factor Authentication - Duo Mobile Push #
Ask an LLM
“What Duo devices and methods are available to my user?”
“Which devices can a user choose from for Duo second factor?”
Tell an agent
List my available Duo devices and capabilities.
Show the devices I can use for Duo second factor.
POST /api/secondfactor/duo_device Set the preferred Duo device · Second Factor Authentication - Duo Mobile Push #
Ask an LLM
“How do I set which Duo device a user gets push notifications on?”
“Can I change the preferred Duo method for a user?”
Tell an agent
Set my preferred Duo device to {device} using method {method}.
Make {device} the chosen Duo device with method {method}.
POST /api/secondfactor/password Complete second factor with the user's password · Second Factor Authentication - Password #
Ask an LLM
“Can a user finish second factor by typing their password?”
“How do I verify a password for second factor?”
Tell an agent
Complete second factor with password {password}.
Verify the user's password {password} for flow {flow}.

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-authentication-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-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Authelia Authentication 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:


# --- truncated at 32 KB (50 KB total) ---
# Full source: https://artifacts.apis.io/authelia/openapi/authelia-authentication-api-openapi.yml