> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Merge Candidate

Collapse a secondary candidate into a primary candidate, absorbing the secondary candidate's applications and history into the primary candidate's record.

**Note**: The secondary candidate's record is permanently deleted once the merge completes.

<Note>
  External Documentation

  To learn more, visit the [Greenhouse documentation](https://harvestdocs.greenhouse.io/reference/post_v3-candidates-id-merge).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter              | Description                                                                                                                                                                             |
  | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Candidate ID           | The ID of the primary candidate that the secondary candidate is merged into. Can be obtained using the `List Candidates` action.                                                        |
  | Secondary Candidate ID | The ID of the secondary candidate to merge into the primary candidate. This candidate's record is deleted once the merge completes. Can be obtained using the `List Candidates` action. |
</div>

## Example Output

```json theme={"dark"}
{
	"id": 53883394,
	"first_name": "Bob",
	"last_name": "Johnson",
	"preferred_name": null,
	"company": null,
	"title": null,
	"created_at": "2024-01-01T00:00:00.000Z",
	"updated_at": "2024-01-01T00:00:00.000Z",
	"can_email": true,
	"time_zone": null,
	"last_activity_at": "2024-01-01T00:00:00.000Z",
	"private": false,
	"tags": [],
	"linked_user_ids": [],
	"phone_numbers": [],
	"addresses": [],
	"email_addresses": [],
	"website_addresses": [],
	"social_media_addresses": [],
	"custom_fields": {}
}
```

## Workflow Library Example

[Merge Candidate with Greenhouse and Send Results Via Email](https://library.blinkops.com/workflows/merge-candidate-with-greenhouse-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/merge-candidate-with-greenhouse-and-send-results-via-email/canvas" />
</div>
