v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Ats > Question

Updates a Question

Updates a Question

put/api/2026-07-01/resources/ats/questions/{id}

Path parameters

idstring required

identifier of the question

Request body

idstring required

identifier of the question

labelstring

text of the question

positioninteger

position of the question in the list

mandatoryboolean

is the question mandatory or not

auto_disqualifyboolean

if the question autodisqualifies the candidate depending on it's response.

Example request

{
  "id": "1",
  "label": "Are you open to relocate?",
  "position": 1,
  "mandatory": true,
  "options": [
    {
      "text": "Yes",
      "disqualifies": false
    },
    {
      "text": "No",
      "disqualifies": false
    }
  ]
}

Response

OK

idstring required

question identifier

ats_job_posting_idstring required

job posting identifier.

labelstring required

text of the question.

positioninteger required

position of the question in the list.

mandatoryboolean required

is the question mandatory or not

auto_disqualifyboolean required

if the question autodisqualifies the candidate depending on it's response.

question_type'text' | 'long_text' | 'single_choice' | 'multiple_choice' | 'file' required

type of the question.

created_atstring required

creation date

updated_atstring required

last update date

Example response

{
  "id": "1",
  "ats_job_posting_id": "1",
  "label": "Are you open to relocate?",
  "position": 1,
  "mandatory": true,
  "question_type": "text",
  "created_at": "2025-01-01T00:00:00.000Z",
  "updated_at": "2025-01-01T00:00:00.000Z",
  "options": [
    {
      "text": "Yes",
      "disqualifies": false
    },
    {
      "text": "No",
      "disqualifies": false
    }
  ]
}