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



## OpenAPI

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

````