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

# Criar integração Typebot

> Cria uma nova integração Typebot. A URL deve seguir o formato `{origin}/api/v1/typebots/{typebotId}`.



## OpenAPI

````yaml POST /automation/integration-typebot/create
openapi: 3.1.0
info:
  title: OpenAPI Multchats
  description: Multchats API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.multchats.com/v2
security:
  - bearerAuth: []
paths:
  /automation/integration-typebot/create:
    post:
      tags:
        - Automation
      summary: Criar integração Typebot
      description: >-
        Cria uma nova integração Typebot. A URL deve seguir o formato
        `{origin}/api/v1/typebots/{typebotId}`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateIntegrationTypebotRequest'
      responses:
        '200':
          description: Integração Typebot criada com sucesso
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateIntegrationTypebotResponse'
        '400':
          description: Erro na requisição
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CreateIntegrationTypebotRequest:
      type: object
      required:
        - name
        - url
      properties:
        name:
          description: Nome da integração Typebot
          type: string
          minLength: 1
          maxLength: 255
        url:
          description: URL do Typebot no formato {origin}/api/v1/typebots/{typebotId}
          type: string
          minLength: 1
          maxLength: 255
    CreateIntegrationTypebotResponse:
      type: object
      properties:
        success:
          description: Indica se a operação foi bem-sucedida
          type: boolean
        data:
          type: object
          properties:
            integrationTypebot:
              $ref: '#/components/schemas/IntegrationTypebot'
    Error:
      required:
        - success
        - message
      type: object
      properties:
        success:
          description: Indica se a operação foi bem-sucedida
          type: boolean
          default: false
        message:
          description: Mensagem de erro (quando success é false)
          type: string
          default: Erro ao enviar mensagem
    IntegrationTypebot:
      type: object
      properties:
        id:
          description: ID da integração Typebot
          type: string
        name:
          description: Nome da integração Typebot
          type: string
        createdAt:
          description: Data de criação
          type: string
          format: date-time
        updatedAt:
          description: Data de atualização
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````