PUT
/
crm-associations
/
v1
/
associations
Associate CRM objects
curl --request PUT \
  --url https://api.hubapi.com/crm-associations/v1/associations \
  --header 'Content-Type: application/json' \
  --data '{
  "fromObjectId": "<string>",
  "toObjectId": "<string>",
  "category": "<string>",
  "definitionId": "<string>"
}'
"\nExample PUT URL:\nhttps://api.hubapi.com/crm-associations/v1/associations\n\nExample PUT JSON:\n{\n  \"fromObjectId\": 496346,\n  \"toObjectId\": 176602,\n  \"category\": \"HUBSPOT_DEFINED\",\n  \"definitionId\": 15\n}\n\nReturns a 204 No Content response on success."

Body

application/json

Response

200 - application/json

Successful response - This endpoint is used to associate two CRM objects

The response is of type object.