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

# Get company types



## OpenAPI

````yaml /openapi/tenant.json get /v1/tenant/company_types/
openapi: 3.0.3
info:
  title: Yume API — Компании
  version: 1.0.0
  description: Управление компаниями-арендаторами.
servers:
  - url: https://api.yume.cloud
    description: Production
  - url: https://api.stage.yume.cloud
    description: Stage
security: []
paths:
  /v1/tenant/company_types/:
    get:
      tags:
        - company_types
      summary: Get company types
      operationId: company_types_list
      parameters:
        - $ref: '#/components/parameters/TenantId'
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TenantCompanyType'
          description: ''
      security:
        - jwtAuth: []
        - {}
components:
  parameters:
    TenantId:
      name: X-Tenant-Id
      in: header
      required: false
      schema:
        type: integer
      description: >-
        Компания, в контексте которой выполняется запрос — её id из `GET
        /v1/tenant/`. Пользователь должен состоять в этой компании: чужой id
        доступа к данным не даёт. Без заголовка компания определяется по домену
        запроса.
  schemas:
    TenantCompanyType:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
          maxLength: 255
        code:
          type: string
          nullable: true
        icon:
          type: string
          format: uri
          nullable: true
        active:
          type: boolean
        country:
          $ref: '#/components/schemas/CountryEnum'
        published:
          type: boolean
        order:
          type: integer
          maximum: 2147483647
          minimum: -2147483648
      required:
        - id
        - name
    CountryEnum:
      enum:
        - KZ
        - KG
        - UZ
        - TR
        - SA
        - AE
      type: string
      description: |-
        * `KZ` - Казахстан
        * `KG` - Кыргызстан
        * `UZ` - Узбекистан
        * `TR` - Турция
        * `SA` - Саудовская Аравия
        * `AE` - ОАЭ
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````