Link a record to another (e.g. a contact to a company)
POST/v1/objects/:entity/:entity_id/associations/:target/:target_id
Link one record to another — a contact to a company, a deal to a contact, and so on.
The path names both sides: {entity}/{entity_id} is the record you start
from, {target}/{target_id} the one you attach. The association is a
relationship, not a copy: neither record's own fields change, and linking is
idempotent, so repeating the call does not create duplicates.
Requires write scope on the entity you are linking from.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
Successful Response
Error
Error
Error
Error
Validation Error
Error