provider Advanced POST /crm/v3/objects/contacts/merge
@utdk/hubspot /crm/v3/objects/contacts/merge
Merge two contacts
Merge two contact records. Learn more about [merging records](https://knowledge.hubspot.com/records/merge-records).

Try it

Authentication
Configure credentials for Contacts
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

post.crm.v3.objects.contacts.mergeMerge
POST/crm/v3/objects/contacts/merge
Merge two contact records. Learn more about [merging records](https://knowledge.hubspot.com/records/merge-records).

Input

required

The object ID of the record that the merge will not set as the current value after the merge.

required

The object ID of the record that the merge will generally set as the current value after the merge.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import hubspot from '@utdk/hubspot';

await hubspot.post.crm.v3.objects.contacts.mergeMerge()