Merge duplicate contacts
POST /v2/contacts/merge
Parameters
Header parameters
apps/rest-api/src/shared/idempotency.ts for the full contract. Missing → 400 BadRequest; same key + different body → 409 Conflict.Request body
Content-Type: application/json
Example
{
"contactIds": [
[
"00000000-0000-0000-0000-000000000000"
]
]
}
Responses
200 — Successful response
Content-Type: application/json
"GOOGLE", "OFFICE365""GOOGLE", "OFFICE365"Example
{
"data": {
"merged": [
{
"id": "00000000-0000-0000-0000-000000000000"
}
],
"failed": [
{
"contactIds": [
"00000000-0000-0000-0000-000000000000"
],
"error": {
"code": "string",
"message": "string"
}
}
]
}
}
400 — Request body failed validation.
Content-Type: application/json
401 — Missing or invalid API key.
Content-Type: application/json
403 — Valid key, insufficient permission.
Content-Type: application/json
404 — Resource does not exist.
Content-Type: application/json
409 — Request conflicts with the current state of the resource.
Content-Type: application/json
429 — Rate limit exceeded.
Content-Type: application/json
500 — Unexpected server error.
Content-Type: application/json
Code samples
curl https://api.prod.getdex.com/v2/contacts/merge \
--request POST \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"contactIds": [
[
"00000000-0000-0000-0000-000000000000"
]
]
}'
fetch('https://api.prod.getdex.com/v2/contacts/merge', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
contactIds: [
{
0: '00000000-0000-0000-0000-000000000000'
}
]
})
})
requests.post(
"https://api.prod.getdex.com/v2/contacts/merge",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"contactIds": [
[
"00000000-0000-0000-0000-000000000000"
]
]
}
)
Bulk-delete contacts
Permanently delete multiple contacts in a single request. Returns `{ data: { affected, ids } }` where `ids` is the array of deleted contact IDs (echoed from the request body). `Idempotency-Key` is opt
Read or run Dex Research on a contact
Dex Research: a cited web research note about one contact (who they are, current focus, background, interests) plus structured findings (LinkedIn, website, email, phone) with per-finding confidence an

