> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getversive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Move questions to a group

> Move questions into a group or page, or out to the top level

Appends the questions, in the order given, to the end of the target group. Moving onto a page returns `400` for a question type a page doesn't allow, a question with a Figma prototype, an embedded website or an AI follow-up, a question that logic jumps to directly, or a question that would read an answer from the same page (display condition, earlier-answer check or `{{Q:...}}` reference).

**study\_id** `string` *required*

The study ID.

**question\_ids** `string[]` *required*

The questions to move, without duplicates.

**question\_group\_id** `string | null` *required*

The target group or page, or `null` for the top level.

### Response

**moved** `integer`

How many questions moved.

**question\_ids** `string[]`

The moved question IDs.

**skipped** `string[]`

IDs left as they were: not found in the study, or already in the target. Only present when some were skipped.

```bash cURL theme={null}
curl -X POST "https://api.getversive.com/api/v1/question-groups/move-questions" \
  -H "Authorization: Bearer $VERSIVE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"study_id": "9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b", "question_ids": ["c1d2e3f4-0000-4000-8000-000000000001"], "question_group_id": "d4e5f6a7-0000-4000-8000-000000000002"}'
```

```json 200 theme={null}
{ "moved": 1, "question_ids": ["c1d2e3f4-0000-4000-8000-000000000001"] }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.