Skip to main content
PUT
/
api
/
organizations
/
{organizationId}
/
contact-fuzzy-merge-settings
Update contact fuzzy-merge settings
curl --request PUT \
  --url https://your-instance.example.com/api/organizations/{organizationId}/contact-fuzzy-merge-settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "candidateLimit": 100,
  "thresholdPercent": 92,
  "reviewThresholdPercent": 75,
  "customFields": [
    {
      "field": "address.streetAddress",
      "weight": 20,
      "matchMode": "fuzzy_string"
    }
  ],
  "lookupTriggerFields": [
    "email",
    "phoneNumber"
  ],
  "instantMergeFields": [
    "email"
  ]
}
'
{
  "success": true,
  "message": "Contact fuzzy merge settings updated",
  "data": {
    "candidateLimit": 100,
    "thresholdPercent": 92,
    "reviewThresholdPercent": 75,
    "customFields": [],
    "lookupTriggerFields": [
      "email",
      "phoneNumber"
    ],
    "instantMergeFields": [
      "email"
    ],
    "conflictResolutionRules": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

Body

application/json
candidateLimit
integer
Required range: 1 <= x <= 200
thresholdPercent
number
Required range: 0 <= x <= 100
reviewThresholdPercent
number
Required range: 0 <= x <= 100
threshold
integer

Optional absolute threshold; converted to thresholdPercent against the max possible score.

Required range: x >= 0
reviewThreshold
integer

Optional absolute review threshold; converted to reviewThresholdPercent against the max possible score.

Required range: x >= 0
customFields
object[]
lookupTriggerFields
string[]
instantMergeFields
string[]
conflictResolutionRules
object

Response

Contact fuzzy merge settings updated

success
enum<boolean>
Available options:
true
message
string
data
object
Example:
{
"candidateLimit": 50,
"thresholdPercent": 90,
"reviewThresholdPercent": 70,
"customFields": [
{
"field": "address.streetAddress",
"weight": 25,
"matchMode": "fuzzy_string"
}
],
"lookupTriggerFields": ["email", "phoneNumber"],
"instantMergeFields": ["email"],
"conflictResolutionRules": { "email": "prefer_newer" }
}