Get Company Merge
Changed onRetrieve the status and details of a specific company merge.
Returns information about the company merge including its current status, the companies involved, timestamps, and any error information if the merge failed.
The mergeId can be obtained from the response of the Get All Company Merges endpoint, or by filtering company merges by task ID using /v2/company-merges?filter=taskId={taskId} after initiating a merge.
Requires the "Manage duplicates" permission and organization admin role.
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/company-merges/{mergeId}
- AuthHTTP bearer
Path parameters
Company merge ID
Response
OK
Example response
{
"id": 12345,
"status": "success",
"taskId": "789e0123-e45b-67c8-d901-234567890123",
"startedAt": "2025-06-03T10:30:00Z",
"primaryCompanyId": 12345,
"duplicateCompanyId": 67890,
"completedAt": "2025-06-03T10:32:15Z",
"errorMessage": "Primary company not found"
}Changes
- info
added
authenticationauthorizationbad-requestconflictmethod-not-allowednot-acceptablenot-foundnot-implementedrate-limitservertimeoutunprocessable-entityunsupported-media-typevalidationdiscriminator mapping keys to the/response property for the response status - info
added
bad-requestvalidationdiscriminator mapping keys to the/response property for the response status
- info