API reference / Jobs
Create a job
/v1/jobsNeeds a bearer access token with the jobs.write scope. How authentication works
Creates a job for your employer. Pass your own id as external_job_id to be able to update it later by that id. To create or update in a single call, use PUT /v1/jobs/by-external-id/{externalJobId} instead.
Request bodyapplication/jsonrequired
titlestringrequireddescriptionstringrequiredPlain text or simple HTML.
job_typestringnullableFor example full_time, part_time, contract, casual.
work_modelstringnullableFor example onsite, hybrid, remote.
experience_levelstringnullablecategory_idstring · uuidnullableFrom /v1/job-categories.
citystringnullablestatestringnullablecountrystringrequiredsalary_minnumbernullablesalary_maxnumbernullablesalary_currencystringDefault AUD.
salary_periodstringDefault annual.
statusstringDefault active.
Allowed values:
draftactiveclosedexpires_atstring · datenullableDefault 30 days from now.
questionnairearray of QuestionnaireQuestionScreening questions. Sent in full every time: the job's questions are replaced by this list. Once the job has applications they can only be re-sent unchanged.
question_textstringquestion_typestringtext is a free answer, radio picks one option, checkbox picks any number. radio and checkbox need at least two options.
Allowed values:
textradiocheckboxoptionsarray of stringnullableThe choices, for radio and checkbox questions.
is_requiredboolean
document_requirementsarray of DocumentRequirementDocuments candidates must or may upload. Sent in full every time, like the questionnaire.
document_namestringYour own label for the document. Rolefy creates a matching document type for the employer the first time it sees a new name.
requirementstringAllowed values:
requiredoptional
external_job_idstringYour own id for this job. Must be unique among your jobs.
Responses
- 201Job created
Response fields
dataJobidstring · uuidexternal_job_idstringnullableYour own id for this job.
titlestringdescriptionstringjob_typestringnullablework_modelstringnullableexperience_levelstringnullablecategory_idstring · uuidnullablecitystringnullablestatestringnullablecountrystringsalary_minnumbernullablesalary_maxnumbernullablesalary_currencystringsalary_periodstringstatusstringYou can set draft, active and closed. The others are set by Rolefy.
Allowed values:
draftpending_approvalactiveexpiredclosedrejectedtaken_downexpires_atstring · datenullableapplications_countintegerpublic_urlstringnullableThe job's page on Rolefy. Null for sandbox jobs.
created_atstring · date-timeupdated_atstring · date-time
- 400Invalid request (
invalid_request)Example response{ "error": { "code": "invalid_request", "message": "Invalid request (`invalid_request`)." } }
