Needs permission organisation:write.
Creates an organisation under your account. legalName is required; organisationType and businessType accept only the values listed in the schema, and anything else is refused with a 400 naming the choices.
Send an Idempotency-Key so a retry after a lost response cannot create the organisation twice. A replay answers 200 with the organisation the first attempt made; a fresh create answers 201; 202 means the organisation exists but a setup step did not finish, and outstandingSteps names it.
403 billing_not_set_up when billing is not set up for the account yet — email [email protected] to agree pricing and set it up. Accounts onboarded by Flow Payroll are already set up.
externalId records your account's own identifier for it. Sending one needs organisation:write across your whole account (403 insufficient_permissions). It must be unique among your account's organisations: 409 external_id_taken before anything is created when another has it. A replay with the same Idempotency-Key is not a clash. Of two requests claiming one value at the same moment, one wins and the other answers 409 external_id_taken having created nothing.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
