Create a new organization for the authenticated user. The user becomes an admin of the organization. Use this during onboarding when a user signs in without an organization (the frontend typically redirects to Polar checkout).
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
Input for creating a new organization. The organization ID comes from WorkOS after creation.
Required fields:
name: Human-readable name for the organization (1-100 characters)1 - 100