Moss · Authentication Profile

Moss Authentication

Authentication

Moss secures its APIs with apiKey across 2 declared security schemes, as derived from its OpenAPI definitions.

Company
Methods: apiKey Schemes: 2 OAuth flows: API key in: header, body

Security Schemes

project-key apiKey
· in: header (x-project-key)
project-id apiKey
· in: body (projectId)

Source

Authentication Profile

moss-authentication.yml Raw ↑
generated: '2026-07-20'
method: searched
source: https://docs.moss.dev/docs/api-reference/v1/getting-started/authentication.md
docs: https://docs.moss.dev/docs/integrate/authentication
summary:
  types:
  - apiKey
  api_key_in:
  - header
  - body
  oauth2_flows: []
schemes:
- name: project-key
  type: apiKey
  in: header
  parameter: x-project-key
  description: >-
    Project access key sent in the x-project-key header. Requests to the Moss
    Control Plane API also require an x-service-version: v1 header and a
    projectId field in the JSON body. Invalid credentials return 403 Forbidden
    with a JSON error payload.
  sources:
  - https://docs.moss.dev/docs/api-reference/v1/getting-started/authentication.md
- name: project-id
  type: apiKey
  in: body
  parameter: projectId
  description: Project identifier issued by Moss Control, supplied in the JSON request body alongside the x-project-key header.
sdk_env:
- MOSS_PROJECT_ID
- MOSS_PROJECT_KEY
notes: >-
  SDKs (JS/Python) construct a MossClient with (project_id, project_key) or read
  MOSS_PROJECT_ID / MOSS_PROJECT_KEY from the environment. Browser/frontend
  clients use a Custom Authenticator to mint short-lived tokens server-side so
  the project key never ships to the browser
  (https://docs.moss.dev/docs/reference/js/custom-authenticator). No OAuth2/OIDC
  scope surface is documented; auth is project-key based.

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/moss-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.