curl --request GET \
--url https://api-staging.respondent.io/v1/projects/{projectId}/screener-questions/{screenerQuestionId} \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-secret: <x-api-secret>'
{
"createdAt": "<string>",
"updatedAt": "<string>",
"questionType": "radio",
"uid": "<string>",
"text": "<string>",
"answers": [
{
"createdAt": "<string>",
"updatedAt": "<string>",
"uid": "<string>",
"text": "<string>",
"answerValue": 123,
"goToQuestionUid": "<string>",
"isOther": true,
"id": "<string>"
}
],
"isRequired": true,
"skipLogic": true,
"includeOtherOption": true,
"isEnd": true,
"logic": {
"answerUid": "<string>",
"goToQuestionUid": "<string>",
"skipLogicType": {
"id": 1,
"text": "Selected"
},
"multipleAnswers": [
{
"answer": "<string>",
"logicType": {
"id": 1,
"text": "Selected"
}
}
],
"multipleAnswersBoolType": {
"id": 1,
"text": "AND"
}
},
"minValue": 123,
"maxValue": 123,
"step": 123,
"order": 123,
"warnings": [
"<string>"
],
"id": "<string>"
}
The response is of type object
.
curl --request GET \
--url https://api-staging.respondent.io/v1/projects/{projectId}/screener-questions/{screenerQuestionId} \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-secret: <x-api-secret>'
{
"createdAt": "<string>",
"updatedAt": "<string>",
"questionType": "radio",
"uid": "<string>",
"text": "<string>",
"answers": [
{
"createdAt": "<string>",
"updatedAt": "<string>",
"uid": "<string>",
"text": "<string>",
"answerValue": 123,
"goToQuestionUid": "<string>",
"isOther": true,
"id": "<string>"
}
],
"isRequired": true,
"skipLogic": true,
"includeOtherOption": true,
"isEnd": true,
"logic": {
"answerUid": "<string>",
"goToQuestionUid": "<string>",
"skipLogicType": {
"id": 1,
"text": "Selected"
},
"multipleAnswers": [
{
"answer": "<string>",
"logicType": {
"id": 1,
"text": "Selected"
}
}
],
"multipleAnswersBoolType": {
"id": 1,
"text": "AND"
}
},
"minValue": 123,
"maxValue": 123,
"step": 123,
"order": 123,
"warnings": [
"<string>"
],
"id": "<string>"
}