Creates a new organization. The authenticated user becomes an admin.
API key authentication using Bearer token format: Bearer <basedash_api_key>
Include sensitive fields in the response. Use jwtSecret to include the embed JWT secret.
jwtSecret Name of the organization
1Custom context for AI features
Skip onboarding flow
Enable full embed functionality
Allowed origins for embedding. Supports exact URLs (https://example.com) and wildcard patterns (https://*.example.com)
URL-friendly slug. If not provided, a unique slug will be generated.
[Self-hosted] Controls whether the organization is billable. Defaults to true. Relevant for self-hosted deployments where billing gates certain features. When false, the organization will not be counted towards billable usage and will have a limited set of features. When true, the organization will be counted towards billable usage (after a 14-day trial) and will have access to all features.
Organization created successfully. The jwtSecret field is only included when explicitly requested via ?include=jwtSecret.