job-posts/{job_post_id}/apply/ to build the answers array of an application.job_post_id (string, as path parameter) : The unique identifier (hash) of the job post to retrieve.job_post_id="d82f9a7c91b041b7b2b7612e"200 OK : An array of question objects related to the specified job post.id (integer) : Pass this as job_post_question when submitting an answer.question_text (string) : The question shown to the candidate.is_required (boolean) : Required questions must be answered, otherwise the application is rejected with 400 Bad Request.answer_type (string) : Expected answer format. One of date | short_text | long_text | integer | decimal | yes_no | single_choice | multiple_choice | file_upload | url.options (string, nullable) : Available options for single_choice and multiple_choice questions.question_key (string, nullable) : Stable key of the question.question_type (string, nullable) : Free-form marker set when the job post is created. Three values change how thephoto must be answered with answer_file (document ID), phone and address are answered withanswer. These three are written onto the candidate's photo, phone_number and address / city / countrylinkedin_url, github_url,portfolio_url, behance_url, dribbble_url, language, salary, or null) is stored as a normal answer; the404 Not Found : The job post does not exist or does not belong to the authenticated company.{
"success": "OK",
"content": [
{ "id": 91, "question_key": "photo", "question_text": "Photo", "answer_type": "file_upload", "options": null, "is_required": false, "question_type": "photo" },
{ "id": 92, "question_key": "phone", "question_text": "Phone number", "answer_type": "short_text", "options": null, "is_required": true, "question_type": "phone" },
{ "id": 93, "question_key": "address", "question_text": "Address", "answer_type": "short_text", "options": null, "is_required": false, "question_type": "address" },
{ "id": 94, "question_key": null, "question_text": "Share your GitHub profile", "answer_type": "url", "options": null, "is_required": false, "question_type": "github_url" }
]
}curl --location 'https://api.recruspace.com/api/v1/client/job-posts//questions/' \
--header 'Authorization: Bearer <token>'{
"success": "OK",
"content": [
{
"id": 0,
"question_key": "string",
"question_text": "string",
"answer_type": "date",
"options": "string",
"is_required": true,
"question_type": "string"
}
]
}