Tag a candidate

Add a tag to a candidate, creating the tag if it does not exist.

POST https://cotlet.dev/api/v1/homerun/jobs/{job_id}/candidates/{candidate_id}/tag

write

Adds the tag to the profile below the contact information. A new name creates a new tag for the whole company, so check list_tags first. Tags are internal and removed with one call of remove_candidate_tag, so it does not wait for your OK.

Parameters

Parameters: add_candidate_tag
NameTypeDescription
job_id string required string Job ID from list_jobs.
candidate_id string required string Candidate ID from list_candidates.
tag string required string Tag name, preferably one from list_tags.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/homerun/jobs/job_8c41d2/candidates/candidate_8c41d2/tag \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tag":"tag"}'
Python
result = client.call("homerun", "add_candidate_tag", {"job_id":"job_8c41d2","candidate_id":"candidate_8c41d2","tag":"tag"})
Node.js
const result = await cotlet.call('homerun', 'add_candidate_tag', {"job_id":"job_8c41d2","candidate_id":"candidate_8c41d2","tag":"tag"});
CLI
cotlet call homerun add_candidate_tag --data '{"job_id":"job_8c41d2","candidate_id":"candidate_8c41d2","tag":"tag"}'

Example response

JSON

{
  "candidate_id": "ap_K2mP7rS1uW5yA9bC3dE6",
  "status": "tagged",
  "tags": [
    "shortlist"
  ]
}

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.