HigherData / Tool
hygiene.auto_merge_configure
Turn auto-merge on or off for this space. It stays off until an owner acknowledges that a HubSpot merge cannot be undone and can only be rebuilt. Choose a risk preset or customize the individual rules.
Scopes: data:write
Send execute false to preview the change. Send execute true to write it. A preview does not change stored data.
REST: POST /api/v1/tools/hygiene.auto_merge_configure?execute=false. The same call is POST /api/v1/hygiene/auto_merge_configure?execute=false.
MCP tool name: hygiene_auto_merge_configure. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| riskLevel | string | no | Preset risk level or custom rule settings. One of: safe, balanced, aggressive, custom. |
| survivorship | string | no | Which duplicate is kept. One of: most_complete, most_recent, oldest. |
| aiReview | boolean | no | Require AI review before a merge. |
| fillAfterMerge | boolean | no | Enrich the surviving record after a successful merge. |
| enabled | boolean | no | Turn auto-merge on or off. Omit it to leave the current setting. |
| acknowledge | boolean | no | Confirm that a CRM merge cannot be undone and can only be rebuilt. |
| rules | array | no | Rules allowed to auto-merge. At most 13 items. |
| rules[]. | string | yes | Duplicate rule that may auto-merge. One of: contacts:canonical-person, companies:canonical-account, companies:data_id, contacts:data_id, contacts:email, companies:domain, contacts:phone, contacts:name-account, contacts:name-company, companies:name-location, companies:name, contacts:name-domain, companies:brand. |
| rules[]. | integer | yes | Lowest combined evidence score the rule can merge. From 0 to 100. |
| objectTypes | array | no | CRM objects auto-merge may change. At most 2 items. Each item: One of: companies, contacts. |
| maxPerRun | integer | no | Most merges in one run. From 1 to 50. |
| maxPerDay | integer | no | Most merges in one day. From 1 to 500. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| riskLevel | string | no | One of: safe, balanced, aggressive, custom. |
| survivorship | string | no | One of: most_complete, most_recent, oldest. |
| aiReview | boolean | no | |
| fillAfterMerge | boolean | no | |
| dryRun | boolean | yes | |
| enabled | boolean | yes | |
| rules | array | yes | At most 13 items. |
| objectTypes | array | yes | At most 2 items. Each item: One of: companies, contacts. |
| maxPerRun | integer | yes | From 1 to 50. |
| maxPerDay | integer | yes | From 1 to 500. |
| acknowledgedBy | value | yes | |
| acknowledgedAt | value | yes |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/hygiene.auto_merge_configure?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"acknowledge": true,
"rules": [
{
"rule": "contacts:email",
"minConfidence": 98
}
],
"objectTypes": [
"contacts"
],
"maxPerRun": 25,
"maxPerDay": 100
}'SDK
import { HigherData } from "higherdata-sdk";
const higherdata = new HigherData({
apiKey: "hd_example_replace_me",
apiUrl: "https://higherdata.io",
});
const result = await higherdata.call("hygiene.auto_merge_configure", {
"enabled": true,
"acknowledge": true,
"rules": [
{
"rule": "contacts:email",
"minConfidence": 98
}
],
"objectTypes": [
"contacts"
],
"maxPerRun": 25,
"maxPerDay": 100
}, { execute: false });Example
{
"input": {
"enabled": true,
"acknowledge": true,
"rules": [
{
"rule": "contacts:email",
"minConfidence": 98
}
],
"objectTypes": [
"contacts"
],
"maxPerRun": 25,
"maxPerDay": 100
},
"output": {
"dryRun": true,
"enabled": true,
"rules": [
{
"rule": "contacts:email",
"minConfidence": 98
}
],
"objectTypes": [
"contacts"
],
"maxPerRun": 25,
"maxPerDay": 100,
"acknowledgedBy": "33333333-3333-4333-8333-333333333333",
"acknowledgedAt": "2026-10-02T12:00:00.000Z"
}
}