curl -X PUT "https://api.getversive.com/api/v1/question-groups/d4e5f6a7-0000-4000-8000-000000000002" \
-H "Authorization: Bearer $VERSIVE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"study_id": "9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b", "kind": "page"}'
{
"id": "d4e5f6a7-0000-4000-8000-000000000002",
"study_id": "9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b",
"parent_question_group_id": null,
"title": "About you",
"display_order": 1,
"is_randomize": false,
"is_pinned": false,
"kind": "page",
"routing_branch_id": null
}
Question groups
Update question group
Rename a group, toggle randomization, or turn it into a page
PUT
/
question-groups
/
{group_id}
curl -X PUT "https://api.getversive.com/api/v1/question-groups/d4e5f6a7-0000-4000-8000-000000000002" \
-H "Authorization: Bearer $VERSIVE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"study_id": "9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b", "kind": "page"}'
{
"id": "d4e5f6a7-0000-4000-8000-000000000002",
"study_id": "9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b",
"parent_question_group_id": null,
"title": "About you",
"display_order": 1,
"is_randomize": false,
"is_pinned": false,
"kind": "page",
"routing_branch_id": null
}
Send at least one of
title, is_randomize or kind.
Turning a group into a page returns 400 when its content can’t sit on a page: subgroups, randomizers, question types a page doesn’t allow, a Figma prototype or embedded website, an AI follow-up, logic that jumps straight to one of its questions, or a display condition, earlier-answer check or {{Q:...}} reference between two of its questions. Fix those first.
A page (kind: "page") holds only questions — no subgroups or randomizers — of these types: multipleChoice, ratingScale, matrixRatingScale, matrixSelection, nps, starRating, ranking, rankingWithMatrix, allocation, allocationWithMatrix, number, dateInput, email, shortText, textInput, message. Its questions can’t show a Figma prototype or an embedded website, or have an AI follow-up (ai_probe) turned on. Logic can jump to a page (move_to_question_group) but not to a question inside it, and display conditions, checks against earlier answers and {{Q:...}} references can’t use a source on the same page. See Several questions on one page.
Response
Returns the updated group.group (questions asked one at a time) or page (the web interviewer shows all of its questions on one screen; voice interviews still ask them one at a time).curl -X PUT "https://api.getversive.com/api/v1/question-groups/d4e5f6a7-0000-4000-8000-000000000002" \
-H "Authorization: Bearer $VERSIVE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"study_id": "9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b", "kind": "page"}'
{
"id": "d4e5f6a7-0000-4000-8000-000000000002",
"study_id": "9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b",
"parent_question_group_id": null,
"title": "About you",
"display_order": 1,
"is_randomize": false,
"is_pinned": false,
"kind": "page",
"routing_branch_id": null
}