Companies
Apply a company
Compile the saved campus, building and office documents into the stored plan; inline offices are saved as workflows.
Compiles the saved campus, building and office documents (kinds campus, building, workflow …; save them with POST /v1/workflows?kind=) and stores the plan. Idempotent by name: inline offices are saved as <campus>/<building>/<office> workflows, removed ones are deleted by name. Does not start the clock: POST …/start.
Authorizations
Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)Path parameters
plunge), never a row idQuery parameters
Available options: json, yaml, markdown, text
Response
What was applied Response format negotiates via the format field, an Accept header (application/json, text/yaml, text/markdown, text/plain), or the request Content-Type mirror; default JSON.
application/jsontext/yamltext/markdowntext/plain
invalid_json — body is not valid JSON or YAML; invalid_format — format must be one of json, yaml, markdown, text
application/json
unauthorized — missing, invalid or revoked ozk_ key
application/json
company_not_found — no company with that slug for this account (a foreign slug answers the same); not_found — no route for this method on this path: every other method answers it
application/json
the documents do not compile (the message names the document path and why); nothing was stored
application/json
upstream_error — the company service is unavailable; retry
application/json
not_enabled — the company service is not deployed on this tier
application/json