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

# Replace a survey's questions

> Atomically replaces the survey's entire question set — this is a replace, not a merge. The body is the desired end state: existing questions (and their options) are deleted and the provided set is inserted in one transaction, ordered by `display_order`. `{"questions": []}` is valid and clears the survey. Question and option ids are server-generated — never send them; every replace mints new ids.

Answers already collected are stored as immutable snapshots and are not rewritten by a replace.

<Warning>The Dialer is a newly released product surface: depending on your account's rollout stage, campaigns managed through this API may not yet be visible in your CloudTalk Dashboard.</Warning>


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://developers.cloudtalk.io/llms.txt).


## Related topics

- [Create a survey](/api-reference/dialer/create-a-survey.md)
- [Rename or archive a survey](/api-reference/dialer/rename-or-archive-a-survey.md)
- [Get a survey](/api-reference/dialer/get-a-survey.md)
