Skip to main content
PATCH
/
api
/
contacts
/
dedup-reviews
/
{reviewId}
/
merge
Resolve a dedup review by merging the pair
curl --request PATCH \
  --url https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "resolution": {
    "firstName": "candidate",
    "lastName": "candidate",
    "email": "source"
  }
}
'
{
  "success": true,
  "message": "Review merged",
  "data": {
    "_id": "64f0a1b2c3d4e5f6a7b8ca30",
    "status": "merged"
  }
}

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

reviewId
string
required

Body

application/json
resolution
object

Free-form resolution payload persisted on the review (e.g. fieldChoices map of source/candidate selections that drive the merge).

Response

Review merged

success
enum<boolean>
required
Available options:
true
message
string
data
object
Example:
{
"_id": "64f0a1b2c3d4e5f6a7b8ca30",
"organizationId": "64f0a1b2c3d4e5f6a7b8c9d3",
"sourceContactId": "64f0a1b2c3d4e5f6a7b8c9d0",
"candidateContactId": "64f0a1b2c3d4e5f6a7b8ca31",
"reviewSource": "fuzzy_match",
"status": "needs_review",
"score": 0.87,
"createdAt": "2026-05-10T12:00:00.000Z"
}
targetContact
object
Example:
{
"_id": "64f0a1b2c3d4e5f6a7b8c9d0",
"firstName": "Jane",
"lastName": "Doe",
"phoneNumber": [
{
"value": "+14165550100",
"isPrimary": true
}
],
"secondaryPhoneNumber": [],
"email": "jane.doe@example.com",
"status": "New Lead",
"pipelineId": "64f0a1b2c3d4e5f6a7b8c9d1",
"pipelineStage": "64f0a1b2c3d4e5f6a7b8c9d2",
"organizationId": "64f0a1b2c3d4e5f6a7b8c9d3",
"userId": "64f0a1b2c3d4e5f6a7b8c9d4",
"createdBy": "64f0a1b2c3d4e5f6a7b8c9d4",
"assignees": ["64f0a1b2c3d4e5f6a7b8c9d4"],
"createdAt": "2026-05-01T14:30:00.000Z",
"updatedAt": "2026-05-15T09:12:00.000Z"
}