Skip to main content
POST
/
action
/
hubspot.v2.create_engagement
Create HubSpot Engagement
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/hubspot.v2.create_engagement \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "object_type": "note",
  "content_body": "<string>",
  "output_variable_name": "created_engagement",
  "title_subject": "<string>",
  "duration": "<string>",
  "status": "COMPLETED",
  "priority": "HIGH",
  "properties": "<string>",
  "associations": "<string>"
}
'
{
  "status": 123,
  "response": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
object_type
enum<string>
required
Available options:
note,
call,
email,
meeting,
task
content_body
string
required

Enter the main content for this engagement (e.g., note content, call summary, email body, meeting agenda, or task description)

output_variable_name
string
default:created_engagement
required

Variable name to store the created engagement.

title_subject
string

Enter a title or subject for this engagement

duration
string

Duration in minutes (for calls and meetings)

status
enum<string>

Select the status or disposition of this engagement

Available options:
COMPLETED,
IN_PROGRESS,
NOT_STARTED,
SCHEDULED,
CANCELLED
priority
enum<string>

Select the priority level for this engagement

Available options:
HIGH,
MEDIUM,
LOW
properties
string
associations
string

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action