Create a job
POST/v1/jobs
Creates a job in draft status. To launch it, add a post with Create a job post and then Publish a job.
Request
Responses
- 201
- 401
- 403
- 422
Job created
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 jobs, or the API key lacks the jobs:write scope (err_insufficient_scope).
Validation failed. Error codes:
err_department_not_found— unknown or deleted departmenterr_office_not_found— unknown or deleted officeerr_invalid_employment_type— unknown or disabled employment type keyerr_description_required— no description or template, or the description is emptyerr_description_too_long— the description is over 65,535 byteserr_description_conflict— bothdescriptionandjob_description_template_idwere senterr_job_description_template_not_found— unknown template, or one this job can't useerr_compensation_required— no salary while compensation is enabled for the job's officeserr_compensation_disabled— a salary was sent while compensation is not enabled for the job's officeserr_currency_not_found— unknown currencyerr_salary_invalid_range—max_amountis not abovemin_amount, ormid_amountis outside the rangeerr_requisitions_not_enabled— requisitions are not enabled for your accounterr_requisition_required— your account requires a requisition and none was senterr_requisition_not_found— unknown requisition, or one the acting user can't manageerr_requisition_not_eligible— the requisition's status doesn't allow linkingerr_requisition_associated_with_job— the requisition is already linked to another joberr_requisition_code_not_allowed—requisition_codewas sent while requisitions are on (userequisition_ids)err_requisition_code_required— the job form makes the requisition ID mandatory and none was senterr_job_profile_not_found— job profiles are not enabled, or the profile is unknown or not activeerr_job_profile_required— your account requires a job profile and none was senterr_custom_field_not_found— a custom field that doesn't apply to this joberr_custom_field_required— a required custom field has no answererr_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