M-Files · Authentication Profile

M Files Authentication

Authentication

M-Files secures its APIs with oauth2, apiKey, and http across 6 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

CompanyInfrastructure SaasDocument-ManagementInformation ManagementContent ServicesWorkflow-AutomationComplianceEnterprise Content Management
Methods: oauth2, apiKey, http Schemes: 6 OAuth flows: authorizationCode API key in: header

Security Schemes

AuthenticationToken apiKey
· in: header ()
OAuth2Bearer oauth2
scheme: bearer
HttpHeaderCredentials apiKey
· in: header ()
CookieSession http
scheme: cookie
SingleSignOn oauth2
PreSharedKeys apiKey
· in: header ()

Source

Authentication Profile

m-files-authentication.yml Raw ↑
generated: '2026-07-20'
method: searched
source: https://developer.m-files.com/APIs/REST-API/Authentication/
docs: https://developer.m-files.com/APIs/REST-API/Authentication/
notes: >-
  The M-Files Web Service (MFWS) REST API is hosted per M-Files Server (on-prem or
  M-Files Cloud vault), so endpoints are relative to the customer's Web Access root
  (e.g. /REST/...). Authentication is session/token based rather than a fixed public
  OAuth server; OAuth bearer is supported where the vault is configured for it.
summary:
  types: [oauth2, apiKey, http]
  api_key_in: [header]
  api_key_header: X-Authentication
  oauth2_flows: [authorizationCode]
schemes:
  - name: AuthenticationToken
    type: apiKey
    in: header
    header: X-Authentication
    obtain: POST /REST/server/authenticationtokens
    description: >-
      Recommended method. POST username, password, and vault GUID (in braces) to
      /REST/server/authenticationtokens; the JSON response returns a token value
      passed on every subsequent request via the X-Authentication header. Optional
      Expiration (ISO 8601) and SessionID. A 403 indicates an expired token.
  - name: OAuth2Bearer
    type: oauth2
    scheme: bearer
    description: >-
      OAuth 2.0 access token passed as Authorization: Bearer <access-token>. Used
      when the vault / M-Files Server is configured with an OAuth identity provider
      (e.g. Azure AD / Microsoft Entra ID).
  - name: HttpHeaderCredentials
    type: apiKey
    in: header
    header: X-Username
    description: >-
      Not recommended. Credentials passed directly as X-Username, X-Password, and
      X-Vault headers on each request.
  - name: CookieSession
    type: http
    scheme: cookie
    description: >-
      ASP.NET session cookie returned after authentication, typically used for
      single sign-on scenarios; preserve cookies for Multi-Server Mode stickiness.
  - name: SingleSignOn
    type: oauth2
    description: >-
      Single Sign-On (SSO) against the configured identity provider; see
      https://developer.m-files.com/APIs/REST-API/Authentication/Single-Sign-On/
  - name: PreSharedKeys
    type: apiKey
    in: header
    description: >-
      Pre-shared key authentication; see
      https://developer.m-files.com/APIs/REST-API/Authentication/Pre-Shared-Keys/

Work with this as data

Every security artifact 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 security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • 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 security artifact
curl "https://apis.io/api/v1/security/m-files-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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