Update a script task

Endpoint to update the details of a script task by task ID. At least one of questions, removed, or qualifying_questions must be provided. Note: questions can only be updated for tasks where needed_variables includes "task.questions". Similarly, qualifying_questions can only be updated for tasks where needed_variables includes "qualifying_questions".

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The ID of the script task

Body Params

At least one of questions, removed, or qualifying_questions must be provided.

questions
array of strings

Questions you want to ask relating to this task. This field can only be updated for tasks that have "task.questions" in their needed_variables array.

questions
boolean

Whether this task will be removed from the script entirely. When set to true, the task will be hidden from the script but not deleted from the database.

qualifying_questions
array of objects

Array of qualifying questions for this task. These are yes/no or specific answer questions used to filter candidates based on job requirements. Can only be updated for tasks where the task's needed_variables includes "qualifying_questions". Each qualifying question must have both a question (the text to ask) and a disqualifyIf (the condition that disqualifies the candidate).

qualifying_questions
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json