VacancyCrowd API and webhooks
Your company's vacancies, candidates and hiring pipeline in your CRM, HR system or corporate AI. Keys and webhooks are created by the company owner or an admin in the cabinet: «Integrations».
Keys and requests
- Create a key in the cabinet → «Integrations» → «API keys» and tick what it may do. The key is shown once: only its hash is stored.
- Every request is HTTPS with the key in the
Authorization: Bearer <key>header (orX-API-Key). A key in the URL is not accepted. - Address:
https://vacancycrowd.co/api/v1/companies/{company_id}. The company number is shown in the cabinet next to the key; a key works only for its own company. - A key can be replaced («New key») or revoked at any time — the old one stops working at once. The owner gets a Telegram message about every new key and webhook.
- Request and response bodies are JSON. Success:
{"ok": true, …}; error:{"ok": false, "error": "code", "details": "…"}.
Key scopes
vacancies:read | read the company's vacancies |
vacancies:write | create and update vacancies |
candidates:read | read vacancy candidates — no contacts |
candidates:write | add candidates |
ats:read | read the hiring pipeline and candidate cards |
ats:write | move candidates between stages |
analytics:read | analytics and report exports |
candidates:contacts | receive name, contacts and CV — only of candidates who granted your company access (off by default) |
A request the key has no scope for gets 403 insufficient_scope with the required scope in details.
Requests
| Method | Path (after …/companies/{company_id}) | Scope | What it does |
|---|---|---|---|
GET | /vacancies | vacancies:read | List the company's vacancies |
GET | /vacancies/{vacancy_id} | vacancies:read | One vacancy with its description |
POST | /vacancies | vacancies:write | Create a vacancy (the response has fairness_warnings) |
PATCH | /vacancies/{vacancy_id} | vacancies:write | Update vacancy fields |
GET | /vacancies/{vacancy_id}/candidates | candidates:read | Candidates of a vacancy (no contacts) |
POST | /vacancies/{vacancy_id}/candidates | candidates:write | Add a candidate to a vacancy |
POST | /candidates/batch | candidates:write | Add up to 500 candidates in one request |
POST | /vacancies/import | vacancies:write | Import vacancies from your ATS (by external_id, as drafts) |
GET | /candidates?vacancy_id=…&updated_since=…&limit=…&offset=… | candidates:read | Candidates in the CRM format (vc.candidate.v1) |
GET | /candidates/{source_type}/{source_id} | candidates:read | One candidate in the CRM format |
GET | /vacancies/{vacancy_id}/ats/home | ats:read | Hiring pipeline: stages and counts |
GET | /vacancies/{vacancy_id}/ats/card?source_type=…&source_id=… | ats:read | A candidate's pipeline card |
POST | /vacancies/{vacancy_id}/pipeline/transition | ats:write | Move a candidate to another stage |
GET | /ats/analytics/summary · funnel · timing · sources · workload · quality · sla | analytics:read | Hiring analytics |
POST / GET | /ats/analytics/exports | analytics:read | Request a report export / list exports |
Examples
curl -H "Authorization: Bearer $VC_KEY" \
https://vacancycrowd.co/api/v1/companies/$COMPANY_ID/vacancies
curl -X POST -H "Authorization: Bearer $VC_KEY" -H "Content-Type: application/json" \
-d '{"candidate_name":"Olena K.","current_position":"Sales manager","location":"Kyiv","summary":"5 years in B2B sales"}' \
https://vacancycrowd.co/api/v1/companies/$COMPANY_ID/vacancies/$VACANCY_ID/candidates
curl -X POST -H "Authorization: Bearer $VC_KEY" -H "Content-Type: application/json" \
-d '{"source_type":"application","source_id":123,"target_stage":"screening","operation_id":"crm-7781"}' \
https://vacancycrowd.co/api/v1/companies/$COMPANY_ID/vacancies/$VACANCY_ID/pipeline/transition
Candidate data
- A candidate's phone, email, Telegram and CV are sent only after the candidate granted access to your company, and only to keys with the
candidates:contactsscope (see «A candidate in your CRM»). - When adding candidates through the API, the company is responsible for the legal basis: the person knows their data is shared and has agreed.
- Do not send data about age, sex, marital status, children, pregnancy, religion, origin or health. For vacancy texts the response contains
fairness_warnings— wording that may shut people out for reasons unrelated to the job. - Data is stored on a server in the EU (Frankfurt). How data is protected: Privacy Policy.
A candidate in your CRM: what and when
GET /candidatesreturns every candidate in one format,vc.candidate.v1:ref, vacancy, channel, stage, dates, rejection reason code,profile,consent,private. To sync, passupdated_sinceand page withnext_offset.- Before the candidate consents your system gets what you see in the cabinet: the name as shown on the card, position, level, city, skills, English, work format and an experience summary (phones, emails, links and @handles removed from the text).
privateisnull. - After consent (the candidate pressed «Grant access» for your company,
consent.contacts = approved) a key with thecandidates:contactsscope receivesprivate: full name, phone, email, Telegram, LinkedIn, CV, expected salary, cover letter. Every such delivery is logged. - Candidates rejected before consenting never get
private— the CRM can keep only an anonymous record for funnel statistics. - If the candidate revokes access,
privateisnullagain and thecandidate.contacts_revokedwebhook is your signal to delete their contacts and CV in your system. - Candidates you added yourself (your own base) have
consent.contacts = company_provided, andprivateis what you sent. For candidates from recruiters and referrals, contacts open only in the cabinet.
{
"schema": "vc.candidate.v1",
"ref": "application:123",
"source_type": "application",
"source_id": 123,
"vacancy_id": 42,
"external_id": "",
"channel": "direct",
"stage": "screening",
"rejection_reason_code": "",
"created_at": "2026-11-27 10:00:00+00",
"updated_at": "2026-11-28 09:15:02+00",
"stage_changed_at": "2026-11-28 09:15:02+00",
"profile": {
"display_name": "Olena K.",
"position": "Sales manager",
"level": "middle",
"location": "Kyiv",
"skills": [
"B2B sales",
"CRM"
],
"english_level": "B2",
"work_format": "hybrid",
"experience_summary": "5 years in B2B sales…"
},
"consent": {
"contacts": "approved",
"approved_at": "2026-11-28 08:00:00+00",
"revoked_at": ""
},
"private": {
"full_name": "Olena Kovalenko",
"phone": "+380…",
"email": "…",
"telegram": "…",
"linkedin": "…",
"resume_url": "…",
"salary_expectation": "…",
"salary_currency": "UAH",
"cover_letter": "…"
}
}
Moving from your ATS
POST /vacancies/importwith{"items": [...], "dry_run": true}— up to 200 vacancies at a time. Each has anexternal_id— its id in your system. Sending it again updates the same vacancy, no duplicates. New vacancies are created as drafts: you check audience and price and publish them in the cabinet.- Send with
dry_run: truefirst — each row comes back aswould_create/would_update/failedwith warnings, and nothing is saved. - Warnings (
warnings): contacts inside the vacancy text, wording that may discriminate (age, sex, children and similar), unknown fields that were skipped. - Add candidates from your base with
"consent_confirmed": true— the company confirms the person knows their data is passed on and agreed. Without it the candidate is refused (consent_required).external_idprevents adding the same candidate twice (duplicate: true). Fields about age, sex, children, religion and similar are not stored — you get a warning. - Stages: map your ATS stages to the VacancyCrowd stages (below) and move candidates with
/pipeline/transitionand your ownoperation_id, so retries do not repeat actions.
{
"dry_run": true,
"items": [
{
"external_id": "ats-1042",
"title": "Sales manager",
"location": "Kyiv",
"work_format": "hybrid",
"salary_from": 30000,
"salary_to": 45000,
"currency": "UAH",
"requirements": "2+ years in B2B sales"
}
]
}
Webhooks
A webhook is an address of your system (https only) that VacancyCrowd sends a POST request to as soon as something happens. Events carry only ids and stages — fetch the details through the API with your key.
| Event | When it is sent | data fields |
|---|---|---|
application.created | a new candidate in a vacancy pipeline (any channel) | vacancy_id, source_type, source_id, stage |
pipeline.stage_changed | a candidate moved to another stage | vacancy_id, source_type, source_id, from_stage, to_stage, reason_code |
hire.start_confirmed | the candidate confirmed the start date | confirmation_id, hire_id, vacancy_id, start_date |
hire.guarantee_completed | 30 days of work passed — the hire is payable | hire_id, vacancy_id, guarantee_ended_at |
candidate.contacts_shared | the candidate granted your company access to contacts — fetch them through the API | ref, vacancy_id, source_type, source_id |
candidate.contacts_revoked | the candidate revoked access — delete their name, contacts and CV in your system | ref, vacancy_id, source_type, source_id |
ping | a test from the cabinet («Send test») | message, endpoint_id |
- Headers:
X-VacancyCrowd-Event(event),X-VacancyCrowd-Delivery(event id, the same for retries — use it to drop duplicates),X-VacancyCrowd-Signature. - Reply with a 2xx code within 10 seconds. Otherwise retries follow after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h and 24 h; then the event is marked «failed». Redirects are not followed.
- After 50 failed attempts in a row the webhook is paused — you can enable it again in the cabinet, where the 30-day delivery log is too.
- Pipeline stages:
new, screening, recruiter_interview, hiring_manager_interview, assessment, test_task, reference_check, final_interview, offer, hired, rejected, candidate_withdrew, on_hold.
{
"id": "evt_3f1c0b5e9a2d4c7b8e6f1a2b",
"event": "pipeline.stage_changed",
"created_at": "2026-11-28T09:15:02+00:00",
"company_id": 123456789,
"data": {
"vacancy_id": 42,
"source_type": "application",
"source_id": 123,
"from_stage": "new",
"to_stage": "screening",
"reason_code": ""
}
}
Checking the signature
Header X-VacancyCrowd-Signature: t=<Unix time>,v1=<signature>. The signature is HMAC-SHA256 of the string t + "." + request body with the webhook secret (shown once when it is created). Reject requests whose signature does not match or whose time is older than 5 minutes.
# Python
import hashlib, hmac, time
def valid(secret: str, header: str, body: bytes) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
if abs(time.time() - int(parts["t"])) > 300:
return False
expected = hmac.new(secret.encode(), parts["t"].encode() + b"." + body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts["v1"])
// Node.js
const crypto = require("crypto");
function valid(secret, header, rawBody) {
const p = Object.fromEntries(header.split(",").map((x) => x.split("=")));
if (Math.abs(Date.now() / 1000 - Number(p.t)) > 300) return false;
const expected = crypto.createHmac("sha256", secret).update(p.t + "." + rawBody).digest("hex");
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(p.v1));
}
Error codes
| 401 | missing_api_token, invalid_api_token | no key or an unknown key |
| 403 | insufficient_scope, api_integration_inactive, api_company_mismatch | no scope, revoked, or issued to another company |
| 404 | vacancy_not_found | no such vacancy or not your company's |
| 400 | validation_error, empty_body, invalid_json, … | an error in the request data |
Questions about connecting — support@vacancycrowd.co.

