Skip to main content

When to use

  • User wants to create a new organization for a team or client
  • Setting up a new workspace before creating projects and deploying use cases
  • Automating org provisioning via scripts or agents

Prerequisites

  • codika CLI installed and authenticated
  • Personal key (ckp_) or admin key (cka_) with organizations:create scope

Command

Options

Size values

solo, 2-10, 11-50, 51-200, 201-1000, 1000+

Behavior

  1. If --logo is provided, reads the file, base64-encodes it, and sends it to the API for upload to platform storage
  2. Calls the Codika platform API to create the organization
  3. The authenticated user becomes the organization owner
  4. Initializes free plan credits and n8n secrets
  5. If self-hosted n8n flags are provided, validates the credentials before creating

Examples

Output

Exit codes