Docs · Integrations
ATS integration guide
CandidLens integrates with any applicant tracking system through a stable, OpenAPI 3.1–documented REST API — not fragile per-vendor scrapers. This page shows the three integration patterns that cover Greenhouse, Lever, Ashby, Workable, Recruitee, and self-built ATS tools.
Which pattern fits your ATS?
| Your situation | Pattern | Effort |
|---|---|---|
| Your ATS exports candidates as files (most do) | CSV / ZIP round-trip | ~10 minutes, no code |
| You want zero manual steps | Inbound webhook | ~1 hour, small script |
| You run pipelines / want full control | REST API or CLI | ~1 hour, any language |
Pattern 1 — the CSV / ZIP round-trip (works with every ATS)
Every major ATS can export a candidate list as CSV and resumes as a ZIP or folder. CandidLens consumes exactly that:
- In your ATS, export the candidate stage you want to screen (Greenhouse: Reports → Candidates; Lever: Export → CSV; Ashby: Analytics → export).
- Zip the resume files — filenames are the candidate labels, so
jane-doe.pdfshows up as Jane Doe in the review queue. - Open the job in CandidLens → Candidates → Upload ZIP. Scores, evidence, and the review queue fill in like any other upload.
- When decisions are made, export Review queue → CSV and import it back into your ATS, or share candidate report links directly from each candidate page.
This is the pattern we recommend starting with: it respects your ATS as the system of record and needs no admin approval from your ATS vendor.
Pattern 2 — inbound webhook (automatic screening)
Point your ATS's outgoing webhook (Greenhouse "custom webhook", Lever "stagetype notification", or a Zapier/Make relay) at CandidLens to screen a candidate the moment they reach a stage:
POST /api/webhooks/ats
Authorization: Bearer <your API token>
Content-Type: application/json
{
"jobId": "your-candidlens-job-id",
"candidate": {
"name": "Jane Doe",
"email": "jane@example.com",
"resumeUrl": "https://ats.example.com/files/jane-doe.pdf"
}
}CandidLens fetches the resume, ingests it into the job, and it appears in the review queue. The endpoint is idempotent per (job, candidate) pair, so ATS retries are safe. Scope the API token to a single organization — the same token model the rest of the API uses.
Deploy note: on the hosted app (same-origin mount) the webhook lives at /api/webhooks/ats. Self-hosted Docker deployments call the API directly on its own origin.Pattern 3 — REST API / CLI (full pipeline control)
The whole screening pipeline is scriptable. The CLI wraps the main steps, and every endpoint is in the OpenAPI 3.1 reference:
# 1. create the job from its description (or find one: candidlens jobs list)
candidlens jobs create "Senior Data Engineer" --jd jd.md
# 2. draft the rubric from the job description with the model
# (or bring your own: candidlens rubric import <jobId> --file rubric.json)
candidlens rubric derive <jobId>
# 3. upload the resumes the ATS exported, score every candidate on the job,
# and save the ranking to read back into your ATS
candidlens score <jobId> ./export --json > ranking.jsonjobs create prints the new job's id. score takes a folder or files (.pdf, .docx, .txt, .md), not a ZIP: unzip the export first, or send the ZIP to POST /api/jobs/<jobId>/candidates/zip. Progress lines go to stderr, so ranking.json holds only the ranked list: rank, candidate id, file name and overall score.
What CandidLens deliberately does not do
- No two-way sync — your ATS stays the system of record; CandidLens never overwrites stages or dispositions. You push results back explicitly.
- No vendor-specific scrapers — when Greenhouse or Lever change their internals, integrations built on our documented API keep working.
- No resume data retention beyond the job — deleting the job removes its documents and embeddings, which keeps you compliant with your own retention policy.
Checklist for production integrations
- Create a dedicated API token per ATS (revocable independently).
- Map ATS stages → CandidLens jobs explicitly; don't screen stages candidates can still withdraw at.
- Share candidate report links only for stages where your process has passed consent.
- Run the bias audit on the combined population after each hiring cycle, not per-webhook.