Create a candidate
POST/v1/candidates
Creates a candidate and, when job_id is set, an application to that job. If a candidate with the same email already exists and job_id is set, only the application is created.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
Candidate created, or an application added to an existing candidate
The candidate already exists or couldn't be created. Error codes:
err_candidate_already_exists- a candidate with this email exists andjob_idwas not senterr_candidate_already_applied- the candidate already has an application forjob_iderr_job_validation_failed- the job's required application details are missingerr_stage_not_valid_for_job-job_stage_idis not a stage ofjob_iderr_candidate_creation_failed- the candidate could not be saved
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to create candidates, or the API key lacks the candidates:write scope (err_insufficient_scope).
Job not found (err_job_not_found).
Validation failed. Error codes:
err_update_candidate_info_requires_resume-update_candidate_infois true without aresumeerr_referral_requires_job-is_referralis true withoutjob_iderr_referral_requires_credited_to_user-is_referralis true withoutcredited_to_user_iderr_user_not_found-is_referralis true andcredited_to_user_idis not a user in the accounterr_user_inactive-is_referralis true andcredited_to_user_idis a deactivated usererr_job_closed- the job is closed (for an existing candidate, or whenis_referralis true)err_candidate_source_not_found-is_referralis true andcandidate_source_idis not a selectable sourceerr_resume_type_invalid-resumeis not a PDF or DOCX fileerr_resume_size_limit_exceeded-resumeis over 20 MB- Field errors when
emailis invalid, neitheremailnor alinkedinlink is sent, or asocial_urlskind is unknown