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
| Name | Type | Description |
|---|---|---|
| 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 -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"}' result = client.call("comeet", "tag_candidate", {"candidate_id":"candidate_8c41d2","tag":"tag"}) const result = await cotlet.call('comeet', 'tag_candidate', {"candidate_id":"candidate_8c41d2","tag":"tag"}); cotlet call comeet tag_candidate --data '{"candidate_id":"candidate_8c41d2","tag":"tag"}' Example response
{
"candidate_id": "cand_7d21a9",
"tags": [
"silver medalist"
],
"changed": "added"
}