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



## OpenAPI

````yaml /openapi/integrations.json post /v1/crm/integrations/ringostat/connect/
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/crm/integrations/ringostat/connect/:
    post:
      tags:
        - ringostat
      summary: Create connect
      operationId: ringostat_connect_create
      parameters:
        - $ref: '#/components/parameters/TenantId'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RingostatConnect'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RingostatConnect'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/RingostatConnect'
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RingostatConnect'
          description: ''
      security:
        - jwtAuth: []
components:
  parameters:
    TenantId:
      name: X-Tenant-Id
      in: header
      required: false
      schema:
        type: integer
      description: >-
        Компания, в контексте которой выполняется запрос — её id из `GET
        /v1/tenant/`. Пользователь должен состоять в этой компании: чужой id
        доступа к данным не даёт. Без заголовка компания определяется по домену
        запроса.
  schemas:
    RingostatConnect:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Создан
        updated_at:
          type: string
          format: date-time
          readOnly: true
          title: Обновлен
        end_at:
          type: string
          format: date
          readOnly: true
          nullable: true
          title: Конец
          description: Конец подключения интеграции
        connected:
          type: boolean
          title: Подключено
          description: Подключено интеграция
        extra:
          nullable: true
          title: Дополнительно
          description: Дополнительные данные
        demo_end_at:
          type: string
          format: date
          nullable: true
          title: Конец демо
          description: Конец демо-периода
        tenant:
          type: integer
          readOnly: true
          title: Компания
          description: Компания
        integration:
          type: integer
          readOnly: true
          title: Интеграция
          description: Интеграция
        integration_period:
          type: integer
          nullable: true
          title: Тариф
          description: Тариф интеграции
      required:
        - created_at
        - end_at
        - id
        - integration
        - tenant
        - updated_at
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````