Skip to main content
POST
Add several organisations at once

Authorizations

X-Auth-Token
string
header
required

FlowPayroll JWT (raw token, no Bearer prefix)

Headers

Idempotency-Key
string

Your own key for this create, so a retry after a lost response finds what the first attempt made instead of making a second one. Any unique string up to 255 characters; a UUID is the usual choice. Send the same value on every retry of the same request, and a new value for a new one — reusing a key for a different body answers 409 idempotency_key_reused. Keys are remembered for 24 hours. Optional, and a request without one simply has no replay protection.

Maximum string length: 255

Body

application/json

Adds several organisations to your account in one request: shared defaults plus per-entry overrides.

defaults
object

What every organisation in the request gets unless its own entry says otherwise.

entries
object[] | null

The organisations to create, each processed exactly as POST /organisations would process it. One Idempotency-Key covers the whole batch, and each entry claims under it by position.

Response

Created

message
object
content
object
validationIssues
object[] | null