Create Organization
Creates a new organization under the calling partner account, optionally configuring SSO or OIDC at creation time.
> 🚧 Requires partner key
>
> This endpoint is only accessible using [partner keys](../../guides/obtaining-api-keys#partner-keys).
SSO and OIDC settings supplied at creation time can be updated later via
`PUT /api/organizations/{id}`.
Authentication
AuthorizationBearer
Bearer partner API key
Headers
X-Polytomic-Version
Request
This endpoint expects an object.
name
Human-readable name of the organization. Must be unique across the partner account.
client_id
OIDC client ID issued by the identity provider.
client_secret
OIDC client secret issued by the identity provider. Write-only; never returned in responses.
issuer
OIDC issuer URL for organizations using OpenID Connect single sign-on.
sso_domain
Email domain used to match users to this organization during SSO sign-in.
sso_org_id
WorkOS organization identifier linking this organization to its SAML/SSO configuration.
Response
OK
data
Errors
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error
