curl --request PATCH \
--url https://api.hubapi.com/engagements/v1/engagements/{engagementId} \
--header 'Content-Type: application/json' \
--data '
{
"engagement": {
"ownerId": 123,
"timestamp": 123
},
"metadata": {}
}
'{}Update an engagement (a task or activity) on an object in HubSpot. See the documentation for creating an engagement for more details on the fields that can be included. Note: Associations cannot be modified using this endpoint. Use the CRM associations API to update associations for existing engagements.
curl --request PATCH \
--url https://api.hubapi.com/engagements/v1/engagements/{engagementId} \
--header 'Content-Type: application/json' \
--data '
{
"engagement": {
"ownerId": 123,
"timestamp": 123
},
"metadata": {}
}
'{}The unique ID of the engagement you want to update.
Successful response - Engagement updated successfully
The response is of type object.
Was this page helpful?