Choose the API origin
Production:https://app.ohmyho.st. Use https://dev.app.ohmyho.st only when you deliberately selected the development platform. Paths below already include /v1.
Create your user token from Profile → API Tokens or the CLI, then load it through your shell or automation platform’s secret storage.
Requests that change state
Use the exact method, schema and permissions in the endpoint reference. SupplyIdempotency-Key where required and retain it with the original request. After an uncertain response, replay the same key and payload; a new key can create new work.
Accepted asynchronous mutations return an operation ID. Read GET /v1/operations/{operation_id} and follow its polling guidance. Operation success still requires checking the expected application outcome.
Errors and pagination
The API returns a stable error code and suggested action. Handle401 by checking account access; 403 by checking the concrete organization/action; 409 by inspecting the existing operation or version; 429 by respecting Retry-After. Do not retry every error as a new mutation.
List endpoints return their documented cursor. Send that cursor on the next request and stop when it is absent. Errors, limits and polling.