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

# Create Organization

> Create a new organization. The creator is automatically added as a member of the organization.



## OpenAPI

````yaml api-reference/openapi/accounts.json POST /api/organizations
openapi: 3.1.0
info:
  title: Recoup API - Accounts
  description: >-
    API documentation for the Recoup platform - an AI agent platform for the
    music industry
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.recoupable.dev
security: []
paths:
  /api/organizations:
    post:
      description: >-
        Create a new organization. The creator is automatically added as a
        member of the organization.
      requestBody:
        description: Organization creation parameters
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrganizationRequest'
      responses:
        '200':
          description: Organization created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateOrganizationResponse'
        '400':
          description: Bad request - missing required parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationsErrorResponse'
components:
  schemas:
    CreateOrganizationRequest:
      type: object
      required:
        - name
        - accountId
      properties:
        name:
          type: string
          description: The name of the organization to create
          example: My New Label
        accountId:
          type: string
          format: uuid
          description: The account ID of the creator
          example: 123e4567-e89b-12d3-a456-426614174000
    CreateOrganizationResponse:
      type: object
      required:
        - status
        - organization
      properties:
        status:
          type: string
          enum:
            - success
          description: Status of the request
        organization:
          $ref: '#/components/schemas/CreatedOrganization'
          description: The created organization
    OrganizationsErrorResponse:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: string
          enum:
            - error
          description: Status of the request
        message:
          type: string
          description: Error message describing what went wrong
    CreatedOrganization:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: UUID of the new organization account
        name:
          type: string
          description: Name of the organization

````