Skip to content

OpenAPI documents

WP Waterfall publishes one OpenAPI document for customers with every route you can call. The API reference and rate limit page are built from it.

The OpenAPI document is the contract behind the API: every route, its parameters, its request body, and its responses, as JSON. WP Waterfall publishes the customer document, which you can download and feed to any OpenAPI tool.

Which document is which?

Document What it holds Where it is
Customer document Every route a customer role can call, the schemas those routes use with the fields a customer receives, and nothing else docs.wpwaterfall.com/openapi.json
Full document The customer routes plus the tools WP Waterfall staff use to run the platform, and the fields only staff receive Not published. It stays in the repository for the dashboard and the hosted MCP server

Both come from the same source on every change, so a customer route reads the same in both, apart from the fields and parameters only staff can use. The customer document says what it is: info.x-wpwaterfall-audience is customer, and its description ends with the sentence that it leaves out the staff operations, and the fields and parameters only staff can use.

What is left out of the customer document?

The routes the API refuses to every customer: the /v1/staff namespace, the server fleet writes, finance, growth reports, and the status page tools. Each one is marked staff only in the contract, and a check runs on every build to prove that none of them is in the customer document and that every customer route of the full document is. A route that only a signed-in session may call stays in: you call it from the dashboard, and the reference says so.

The fields and parameters only staff can use are left out too. A route you can call may answer WP Waterfall staff with more fields than it answers you, and may take a parameter that changes nothing for you. The contract marks each of those staff only, and the same check proves that the customer document holds none of them. So the reference describes the fields you receive, and not the ones kept for staff.

What is built from it?

Is there an SDK?

No. WP Waterfall ships no SDK. You get the REST API with this document and the API reference, the MCP server, and the DDEV starter for local development. Any HTTP client works: see the quickstart.

How do I generate a client?

Download the customer document and give it to the generator for your language, such as openapi-typescript, oapi-codegen, or openapi-generator. The document is OpenAPI 3.1. Some generators refuse a discriminator without a mapping; remove those first if yours does, and nothing else changes. Then send your key as a bearer token: see Authentication.

Still stuck?

Email support at wpwaterfall dot com with your site name and what you tried, or send us a message.