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"
}
}
'import requests
url = "https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge"
payload = { "resolution": {
"firstName": "candidate",
"lastName": "candidate",
"email": "source"
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({resolution: {firstName: 'candidate', lastName: 'candidate', email: 'source'}})
};
fetch('https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'resolution' => [
'firstName' => 'candidate',
'lastName' => 'candidate',
'email' => 'source'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge"
payload := strings.NewReader("{\n \"resolution\": {\n \"firstName\": \"candidate\",\n \"lastName\": \"candidate\",\n \"email\": \"source\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"resolution\": {\n \"firstName\": \"candidate\",\n \"lastName\": \"candidate\",\n \"email\": \"source\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"resolution\": {\n \"firstName\": \"candidate\",\n \"lastName\": \"candidate\",\n \"email\": \"source\"\n }\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Review merged",
"data": {
"_id": "64f0a1b2c3d4e5f6a7b8ca30",
"status": "merged"
}
}{
"error": "Attachment not found",
"message": "Attachment not found"
}{
"error": "Attachment not found",
"message": "Attachment not found"
}{
"error": "Attachment not found",
"message": "Attachment not found"
}{
"error": "Attachment not found",
"message": "Attachment not found"
}{
"error": "Attachment not found",
"message": "Attachment not found"
}{
"error": "Attachment not found",
"message": "Attachment not found"
}Contacts
Resolve a dedup review by merging the pair
Merges the source contact into the candidate contact using optional per-field choices, then marks the review merged. Cascades any other pending reviews on the same source contact to kept_separate.
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"
}
}
'import requests
url = "https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge"
payload = { "resolution": {
"firstName": "candidate",
"lastName": "candidate",
"email": "source"
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({resolution: {firstName: 'candidate', lastName: 'candidate', email: 'source'}})
};
fetch('https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'resolution' => [
'firstName' => 'candidate',
'lastName' => 'candidate',
'email' => 'source'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge"
payload := strings.NewReader("{\n \"resolution\": {\n \"firstName\": \"candidate\",\n \"lastName\": \"candidate\",\n \"email\": \"source\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"resolution\": {\n \"firstName\": \"candidate\",\n \"lastName\": \"candidate\",\n \"email\": \"source\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-instance.example.com/api/contacts/dedup-reviews/{reviewId}/merge")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"resolution\": {\n \"firstName\": \"candidate\",\n \"lastName\": \"candidate\",\n \"email\": \"source\"\n }\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Review merged",
"data": {
"_id": "64f0a1b2c3d4e5f6a7b8ca30",
"status": "merged"
}
}{
"error": "Attachment not found",
"message": "Attachment not found"
}{
"error": "Attachment not found",
"message": "Attachment not found"
}{
"error": "Attachment not found",
"message": "Attachment not found"
}{
"error": "Attachment not found",
"message": "Attachment not found"
}{
"error": "Attachment not found",
"message": "Attachment not found"
}{
"error": "Attachment not found",
"message": "Attachment not found"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Free-form resolution payload persisted on the review (e.g. fieldChoices map of source/candidate selections that drive the merge).
Response
Review merged
Available options:
true Show child attributes
Show child attributes
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"
}
Show child attributes
Show child attributes
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"
}
⌘I