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

Parameters: move_candidate_to_stage
NameTypeDescription
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
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"}'
Python
result = client.call("homerun", "move_candidate_to_stage", {"job_id":"job_3b7e91","candidate_id":"ap_K2mP7rS1uW5yA9bC3dE6","stage":"Phone call"})
Node.js
const result = await cotlet.call('homerun', 'move_candidate_to_stage', {"job_id":"job_3b7e91","candidate_id":"ap_K2mP7rS1uW5yA9bC3dE6","stage":"Phone call"});
CLI
cotlet call homerun move_candidate_to_stage --data '{"job_id":"job_3b7e91","candidate_id":"ap_K2mP7rS1uW5yA9bC3dE6","stage":"Phone call"}'

Example response

JSON

{
  "candidate_id": "ap_K2mP7rS1uW5yA9bC3dE6",
  "status": "moved",
  "from_stage": "Application",
  "to_stage": "Phone call"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.