Skip to main content
The Partner API is a stable HTTP API. Route shapes, payloads, and error codes are frozen: we add to them, we do not break them.

Base URL

All requests and responses are JSON.

Authentication

Send your key on every request:
A key is issued by WPOS with a fixed set of scopes. It is shown to you once and stored only as a hash. Treat it like a password: keep it server-side, rotate it if it leaks (contact WPOS to revoke and reissue), and never ship it to a browser. For in-browser experiences, mint a narrow embed session instead.

Scopes

A call that needs a scope your key lacks returns 403 forbidden_scope.

Rate limits

Requests are limited per partner, at sixty per minute. Over the limit returns 429 rate_limited; back off and retry. Build jobs have their own capacity limits; see Build jobs.

Endpoints

Errors

Every non-2xx response uses one envelope:
Ownership failures answer 404 not_found, never 403. A request for an account, site, or job that is not yours is indistinguishable from one that does not exist, by design, so the API never reveals another partner’s ids.

Webhooks

Events are delivered and signed as described in Webhooks.

Support

Something missing or behaving unexpectedly? Email partners@wpos.ai.