Get a candidate

Read a candidate profile with answers, ratings, notes and messages.

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

read

Returns the contact details, the current stage and the stages passed, the answers to the application form, ratings, notes, tags and the latest messages. A candidate belongs to one job, so the same person applying twice has two IDs.

Parameters

Parameters: get_candidate
NameTypeDescription
job_id string required string Job ID from list_jobs.
candidate_id string required string Candidate ID from list_candidates.

Request

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

Example response

JSON

{
  "candidate_id": "ap_K2mP7rS1uW5yA9bC3dE6",
  "name": "Priya Raman",
  "email": "priya.raman@example.com",
  "stage": "Application",
  "answers": [
    {
      "question": "How many years of customer-facing experience do you have?",
      "answer": "4"
    }
  ],
  "rating": 4,
  "notes": [],
  "tags": [
    "shortlist"
  ],
  "messages": []
}

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.