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

# Update current HubSpot integration.



## OpenAPI

````yaml /openapi/chat-client.yaml patch /external-automations/hubspot
openapi: 3.0.3
info:
  version: 1.0.0
  title: HealviChat Client API
servers:
  - url: https://{tenant_domain}/third-party/v1
    variables:
      tenant_domain:
        default: your-tenant.onhealvi.com
        description: Your tenant domain
security:
  - bearerAuth: []
paths:
  /external-automations/hubspot:
    patch:
      tags:
        - external-automations-hubspot
      summary: Update current HubSpot integration.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                enabled:
                  type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/HubspotAutomation'
components:
  schemas:
    HubspotAutomation:
      type: object
      properties:
        enabled:
          type: boolean
        hub_id:
          type: string
          nullable: true
        scopes:
          type: array
          nullable: true
          items:
            type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````