Move a candidate to a stage
Move a candidate to another hiring stage of the same job.
POST https://cotlet.dev/api/v1/homerun/jobs/{job_id}/candidates/{candidate_id}/to-stage/move
write Confirm
Moves the candidate and returns the old and new stage. Homerun can send an email automatically when a candidate enters a stage, if your account set one up, so a move can reach the candidate. A name that is not a stage of this job fails and lists the stages. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| job_id string required | string | Job ID from list_jobs. |
| candidate_id string required | string | Candidate ID from list_candidates. |
| stage string required | string | Stage name as shown in get_job. |
Request
curl -X POST https://cotlet.dev/api/v1/homerun/jobs/job_3b7e91/candidates/ap_K2mP7rS1uW5yA9bC3dE6/to-stage/move \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"stage":"Phone call"}' result = client.call("homerun", "move_candidate_to_stage", {"job_id":"job_3b7e91","candidate_id":"ap_K2mP7rS1uW5yA9bC3dE6","stage":"Phone call"}) const result = await cotlet.call('homerun', 'move_candidate_to_stage', {"job_id":"job_3b7e91","candidate_id":"ap_K2mP7rS1uW5yA9bC3dE6","stage":"Phone call"}); cotlet call homerun move_candidate_to_stage --data '{"job_id":"job_3b7e91","candidate_id":"ap_K2mP7rS1uW5yA9bC3dE6","stage":"Phone call"}' Example response
{
"candidate_id": "ap_K2mP7rS1uW5yA9bC3dE6",
"status": "moved",
"from_stage": "Application",
"to_stage": "Phone call"
}