DOCUMINT
api referenceVerified against f97ac63

API Reference

Backend endpoints, MCP entrypoints, and the snapshot objects that power Documint on itself.

Core routes

Snapshot objects

The public dashboard and the MCP surface share the same backend objects:

Auth

V1 allows read-only access without auth. Mutating routes can require a bearer token when AUTH_TOKEN or DOCUMINT_AUTH_TOKEN is configured.

GitHub webhooks are authenticated separately through X-Hub-Signature-256 using GITHUB_WEBHOOK_SECRET.

GitHub webhook behavior

Dogfood rule

The API exists to prove the Documint repo can document itself first. External customer onboarding comes after the self-dogfood loop is stable.

Production note

When the backend runs in a container or managed deploy without a .git directory, Documint can still report the current revision if the platform provides DOCUMINT_DEPLOY_COMMIT, RAILWAY_GIT_COMMIT_SHA, VERCEL_GIT_COMMIT_SHA, or GITHUB_SHA.