POST
/
engagements
/
v1
/
engagements
Create an engagement
curl --request POST \
  --url https://api.hubapi.com/engagements/v1/engagements \
  --header 'Content-Type: application/json' \
  --data '{
  "engagement": {
    "active": true,
    "ownerId": 123,
    "type": "EMAIL",
    "timestamp": 123
  },
  "associations": {
    "contactIds": [
      123
    ],
    "companyIds": [
      123
    ],
    "dealIds": [
      123
    ],
    "ownerIds": [
      123
    ],
    "ticketIds": [
      123
    ]
  },
  "attachments": [
    {
      "id": 123
    }
  ],
  "metadata": {}
}'
{
  "engagement": {},
  "associations": {},
  "attachments": [
    {}
  ],
  "metadata": {}
}

Body

application/json

Response

200 - application/json

Successful response - Engagement created successfully

The response is of type object.