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

# Create organization



## OpenAPI

````yaml post /organization
openapi: 3.0.0
info:
  title: Cybedefend API
  description: >-
    CybeDefend is an advanced API for application security analysis. Key
    features include OAuth 2.0 authentication, user/organization/project
    management, and REBAC-based permissions. It excels in static, dynamic, and
    IaC security analyses (SAST, DAST, IaC, etc.).
  version: '1.0'
  contact: {}
servers:
  - url: https://api-eu.cybedefend.com
    description: EU
  - url: https://api-us.cybedefend.com
    description: US
security: []
tags: []
paths:
  /organization:
    post:
      tags:
        - Organization
      summary: Create organization
      operationId: OrganizationController_createOrganization
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationCreateBodyDto'
      responses:
        '201':
          description: Organization created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationCreateResponseDto'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                example:
                  message: Unauthorized
                  statusCode: 401
                  timestamp: '2025-02-18T12:31:18.491Z'
                  path: /example/path
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                example:
                  message: Forbidden
                  statusCode: 403
                  timestamp: '2025-02-18T12:31:18.491Z'
                  path: /example/path
components:
  schemas:
    OrganizationCreateBodyDto:
      type: object
      properties:
        name:
          type: string
          description: Organization name
        industry:
          type: string
          description: Industry sector of the organization (select)
          enum:
            - software
            - finance
            - healthcare
            - education
            - manufacturing
            - retail
            - government
            - energy
            - telecom
            - freelance
            - other
        country:
          type: string
          description: Country code (ISO 3166-1 alpha-2)
        customerType:
          type: string
          description: 'Customer type: ''individual'' or ''company'''
          enum:
            - individual
            - company
        firstName:
          type: string
          description: First name (required if individual)
        lastName:
          type: string
          description: Last name (required if individual)
        companyName:
          type: string
          description: Company name (required if company)
        vatNumber:
          type: string
          description: VAT number (optional if company)
        billingAddressLine1:
          type: string
          description: Billing address line 1
        billingAddressLine2:
          type: string
          description: Billing address line 2
        billingCity:
          type: string
          description: Billing city
        billingPostalCode:
          type: string
          description: Billing postal code
        billingRegion:
          type: string
          description: Billing region/state
      required:
        - name
        - industry
        - country
        - customerType
    OrganizationCreateResponseDto:
      type: object
      properties:
        message:
          type: string
          description: Creation status message
        organizationId:
          type: string
          description: Unique identifier of the created organization
          format: uuid
        name:
          type: string
          description: Name of the organization
        description:
          type: string
          description: Description of the organization
        email:
          type: string
          description: Email address of the organization
      required:
        - message
        - organizationId
        - name
        - description
        - email
    ErrorDto:
      type: object
      properties:
        timestamp:
          type: string
          example: '2025-02-18T12:31:18.491Z'
          description: Timestamp of the error
        service:
          type: string
          example: AiService
          description: Name of the service where the error occurred
        method:
          type: string
          example: startConversation
          description: Method name where the error occurred
        message:
          type: string
          example: Invalid parameters provided
          description: Error message
        code:
          type: number
          example: 400
          description: HTTP status code
          minimum: 100
          maximum: 599
      required:
        - timestamp
        - service
        - method
        - message
        - code

````