> ## Documentation Index
> Fetch the complete documentation index at: https://kaneo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Organization

> Create an organization



## OpenAPI

````yaml /openapi.json post /auth/organization/create
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /auth/organization/create:
    post:
      tags:
        - Organization Management
      summary: Create Organization
      description: Create an organization
      operationId: createOrganization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The name of the organization
                slug:
                  type: string
                  description: The slug of the organization
                userId:
                  type: string
                  description: >-
                    The user id of the organization creator. If not provided,
                    the current user will be used. Should only be used by admins
                    or when called by the server. server-only. Eg: "user-id"
                logo:
                  type:
                    - string
                    - 'null'
                  description: The logo of the organization
                metadata:
                  type: object
                  additionalProperties: {}
                  description: The metadata of the organization
                keepCurrentActiveOrganization:
                  type: boolean
                  description: >-
                    Whether to keep the current active organization active after
                    creating a new one. Eg: true
                description:
                  type:
                    - string
                    - 'null'
              required:
                - name
                - slug
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema: {}
        '401':
          description: Missing or invalid credentials
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````