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

# Create HubSpot Engagement

> Create HubSpot Engagement



## OpenAPI

````yaml /api-reference/v1/v1.1.0_openapi.json post /action/hubspot.v2.create_engagement
openapi: 3.0.0
info:
  version: 1.1.0
  title: AI Actions - Get Data
  description: API specifications for 'Get Data' category AI actions.
  license:
    name: MIT
servers:
  - url: https://api-lr.agent.ai/v1
security:
  - bearerAuth: []
paths:
  /action/hubspot.v2.create_engagement:
    post:
      tags:
        - HubSpot CRM & Automation
      summary: Create HubSpot Engagement
      description: Create HubSpot Engagement
      operationId: hubspot.v2.createEngagement
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                object_type:
                  type: string
                  enum:
                    - note
                    - call
                    - email
                    - meeting
                    - task
                content_body:
                  type: string
                  x-ui: textarea
                  description: >-
                    Enter the main content for this engagement (e.g., note
                    content, call summary, email body, meeting agenda, or task
                    description)
                title_subject:
                  type: string
                  description: Enter a title or subject for this engagement
                duration:
                  type: string
                  description: Duration in minutes (for calls and meetings)
                status:
                  type: string
                  enum:
                    - COMPLETED
                    - IN_PROGRESS
                    - NOT_STARTED
                    - SCHEDULED
                    - CANCELLED
                  description: Select the status or disposition of this engagement
                priority:
                  type: string
                  enum:
                    - HIGH
                    - MEDIUM
                    - LOW
                  description: Select the priority level for this engagement
                properties:
                  type: string
                  x-ui: properties
                associations:
                  type: string
                  x-ui: associations
                output_variable_name:
                  type: string
                  description: Variable name to store the created engagement.
                  default: created_engagement
              required:
                - object_type
                - content_body
                - output_variable_name
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '401':
          description: Unauthorized - invalid or missing bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
components:
  schemas:
    ActionResponse:
      type: object
      properties:
        status:
          type: integer
          format: int32
          description: HTTP status code of the action response
        response:
          type: object
          description: Response data from the action
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from your account
        ([https://agent.ai/user/integrations#api](https://agent.ai/user/integrations#api))

````