Add a candidate to a project
POST/v1/projects/:project_id/candidates
Adds a candidate to a project.
Request
Responses
- 201
- 401
- 403
- 404
- 409
- 422
Candidate added.
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 edit this project, or the API key lacks the projects:write scope (err_insufficient_scope).
Project not found (err_project_not_found).
The candidate is already in the project (err_candidate_already_in_project).
Validation failed. Error codes:
err_candidate_not_found— unknown candidate, or one the acting user can't viewerr_candidate_anonymized— the candidate's data was anonymizederr_project_archived— the project is archivederr_system_project— the project is the system projecterr_on_behalf_of_not_allowed— a personal access token passed another user's IDerr_user_not_found—on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden— that user is not allowed to perform this action