Set up org
Single onboarding entry point. Sets `org_type` in WorkOS JWT metadata (immutable once set) and idempotently creates `org_private_data` + `org_public_data` for the caller's organization. Optional `handle` and `company_name` populate the public doc on first call; later updates go through PATCH /orgs/org_public_data/v1. Returns True on success (including idempotent retries), 400 on org_type conflict or handle collision. | (SetupOrgReq) -> (bool)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
org_type
Allowed values:
handle
Must be a string starting with @. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters.
company_name
Response
Successful Response
Errors
422
Orgs Setup Org V1request Unprocessable Entity Error

