> ## 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.

# Create demo



## OpenAPI

````yaml /openapi/tenant.json post /v1/tenant/demo/
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/demo/:
    post:
      tags:
        - demo
      summary: Create demo
      operationId: demo_create
      parameters:
        - $ref: '#/components/parameters/TenantId'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantNotify'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TenantNotify'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/TenantNotify'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantNotify'
          description: ''
      security:
        - jwtAuth: []
        - {}
components:
  parameters:
    TenantId:
      name: X-Tenant-Id
      in: header
      required: false
      schema:
        type: integer
      description: >-
        Компания, в контексте которой выполняется запрос — её id из `GET
        /v1/tenant/`. Пользователь должен состоять в этой компании: чужой id
        доступа к данным не даёт. Без заголовка компания определяется по домену
        запроса.
  schemas:
    TenantNotify:
      type: object
      properties:
        type:
          allOf:
            - $ref: '#/components/schemas/TenantNotifyTypeEnum'
          writeOnly: true
        phone:
          type: string
          writeOnly: true
        name:
          type: string
          writeOnly: true
        company_type:
          type: string
          writeOnly: true
      required:
        - company_type
        - name
        - phone
        - type
    TenantNotifyTypeEnum:
      enum:
        - demo
      type: string
      description: '* `demo` - Demo'
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````