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

# Create a company

> This endpoint allows you to create a new company.

It is restricted to admin users.



## OpenAPI

````yaml /api-reference/openapi-v2.yaml post /api/v2/companies/create/
openapi: 3.0.3
info:
  title: Paradigm API
  version: xenial-xerus (v2)
  description: >-
    A versatile and adaptable tool designed to integrate Generative AI into your
    applications
servers:
  - url: https://paradigm.lighton.ai
security: []
tags:
  - name: Models
    description: Operations about AI models
  - name: Files Search
    description: Operations about files search
  - name: Files
    description: Operations about files
  - name: Upload Sessions
    description: Operations about upload sessions
  - name: Workspaces
    description: Operations about workspaces
  - name: Users
    description: Operations about users
  - name: Companies
    description: Operations about companies
  - name: SCIM
    description: Operations about SCIM
  - name: Feedbacks
    description: Operations about feedbacks
  - name: Reporting
    description: Operations about reporting
  - name: Monitoring
    description: Operations about monitoring
  - name: Platform Status
    description: Operations about platform status
paths:
  /api/v2/companies/create/:
    post:
      tags:
        - Companies
      summary: Create a company
      description: |-
        This endpoint allows you to create a new company.

        It is restricted to admin users.
      operationId: api_v2_companies_create_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCompanyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateCompanyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CreateCompanyRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyInfoResponse'
          description: ''
      security:
        - bearerAuth: []
components:
  schemas:
    CreateCompanyRequest:
      type: object
      properties:
        name:
          type: string
        dpo_email:
          type: string
          format: email
        max_users:
          type: integer
        allow_company_admins_to_manage_sso:
          type: boolean
          default: false
        storage_limit_company_ws:
          type: number
          format: double
          nullable: true
        storage_limit_personal_ws:
          type: number
          format: double
          nullable: true
        storage_limit_custom_ws:
          type: number
          format: double
          nullable: true
      required:
        - name
    CompanyInfoResponse:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        created_at:
          type: string
          format: date-time
        max_users:
          type: integer
        dpo_email:
          type: string
          format: email
        allow_company_admins_to_manage_sso:
          type: boolean
        storage_limit_company_ws:
          type: number
          format: double
        storage_limit_personal_ws:
          type: number
          format: double
        storage_limit_custom_ws:
          type: number
          format: double
        active_members_count:
          type: integer
      required:
        - active_members_count
        - allow_company_admins_to_manage_sso
        - created_at
        - dpo_email
        - id
        - max_users
        - name
        - storage_limit_company_ws
        - storage_limit_custom_ws
        - storage_limit_personal_ws
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your auth token.

````