Add candidates to a job

Add one or more candidates to an open job, in its first stage.

POST https://cotlet.dev/api/v1/recruiterflow/jobs/{job_id}/candidate-to-jobs

write

Adds candidates to one open job. Closed and on-hold jobs are refused, as they are missing from the dropdown in Recruiterflow. Each candidate enters the default first stage of the job's pipeline. Candidates already on the job are not duplicated and keep their stage; they come back in already_on_job. Automations an admin set on that stage still run.

Parameters

Parameters: add_candidate_to_job
NameTypeDescription
job_id string required string Open job id from list_jobs.
candidate_ids array required array Candidate ids from list_candidates.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/recruiterflow/jobs/job_8c41d2/candidate-to-jobs \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"candidate_ids":"candidate ids"}'
Python
result = client.call("recruiterflow", "add_candidate_to_job", {"job_id":"job_8c41d2","candidate_ids":"candidate ids"})
Node.js
const result = await cotlet.call('recruiterflow', 'add_candidate_to_job', {"job_id":"job_8c41d2","candidate_ids":"candidate ids"});
CLI
cotlet call recruiterflow add_candidate_to_job --data '{"job_id":"job_8c41d2","candidate_ids":"candidate ids"}'

Example response

JSON

{
  "job_id": "48213",
  "stage": "Sourced",
  "added": [
    "772455",
    "772456"
  ],
  "already_on_job": [
    "771204"
  ]
}

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.