Tag candidate

Add a tag to a candidate, or remove one.

POST https://cotlet.dev/api/v1/comeet/candidates/{candidate_id}/tag

write

Adds or removes one tag from Library > Tags on a candidate. A tag that does not exist is not created here, because only Owners and Admins add new tags. Tags are shared across all the candidate's hiring processes, so a change shows in every position. It reaches nobody and is undone with one call (action remove), so it does not wait for your OK.

Parameters

Parameters: tag_candidate
NameTypeDescription
candidate_id string required string Candidate from list_candidates.
tag string required string Name of an existing tag.
action enum enum add (default) or remove.

Request

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

Example response

JSON

{
  "candidate_id": "cand_7d21a9",
  "tags": [
    "silver medalist"
  ],
  "changed": "added"
}

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.