v1
latestOpenAPI 3.0.02026-08-04265791.1 MBCampaigns
Create Question
Create a single question.
-
Restricted to campaigns of type mission.
-
If there's a conflict in the question_number the request takes priority. If you add a question in position 1 in page 1 and there is already a question 1 in the page 1, the new question will be placed in position 1 and the one that already existed is moved to position 2 in page 1.
-
The page_number and question_number are adjusted to the current state. If i.e. the page_number does not exist, a new subsequent number will be given regardless of the input.
post/public/api/campaigns/{id}/questions
Headers
Acceptstring
e.g. application/json
Request body
Example request
{
"question": "Photo 2",
"question_type": "photo",
"page_number": 200,
"question_number": 12,
"question_attributes": {
"allow_library": true,
"hide_mobile": false,
"mandatory": false
}
}Response
OK