Update a screener question’s text, type, or answer values. Only the fields you include are modified.
cURL
curl --request PATCH \ --url https://api-staging.respondent.io/v1/projects/{projectId}/screener-questions/{screenerQuestionId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --header 'x-api-secret: <x-api-secret>' \ --data ' { "text": "<string>", "isRequired": true, "skipLogic": true, "includeOtherOption": true, "questionType": "radio", "answers": [ { "answerValue": 1, "text": "<string>", "goToQuestionUid": "<string>", "isOther": true } ] } '
{ "createdAt": "<string>", "text": "<string>", "minValue": 123, "maxValue": 123, "step": 123, "id": "<string>", "updatedAt": "<string>", "questionType": "radio", "uid": "<string>", "answers": [ { "createdAt": "<string>", "uid": "<string>", "answerValue": 123, "id": "<string>", "updatedAt": "<string>", "text": "<string>", "goToQuestionUid": "<string>", "isOther": true } ], "isRequired": true, "skipLogic": true, "includeOtherOption": true, "isEnd": true, "order": 123, "warnings": [ "<string>" ] }
radio
Show child attributes
multiLineTextbox
checkbox
singleLineTextbox
numericBox
sliderScale
Was this page helpful?
Suggestions
Contact support