Skip to main content

Mattermost API v4

API Reference

Every endpoint is a first-class, deep-linkable page generated directly from the canonical OpenAPI spec. Per-endpoint code samples in curl, PowerShell, Python, Node, and Go.

  • 549Endpoints
  • 38Resource groups
  • 5Languagescurl · PowerShell · Python · Node · Go
  • v4API versionStable, semver-tracked
  • GETRead
  • POSTCreate / action
  • PUTReplace
  • PATCHUpdate fields
  • DELETERemove

Start here

Common workflows

How it's generated

The canonical source is the OpenAPI specification in mattermost/mattermost/api/v4/source/ (56 YAML fragments, one per resource). The build pipeline:

node docs-site/scripts/build-openapi.mjs # bundle 56 fragments → one YAML, 435 paths, 550 ops
npx docusaurus gen-api-docs all # emit ~589 MDX files (one per endpoint + tag pages)

When the upstream spec changes, this regenerates automatically. AI never authors API reference content — it's deterministic from the spec.

Looking for something else?