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

# Create a survey

> Creates a survey agents fill after a call. Omit `questions` to create an empty survey and add questions later with the replace-questions call. Question and option ids are server-generated — never send them. Attach the survey to a campaign via the campaign's `survey_id`.

<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://help.cloudtalk.io/llms.txt).


## Related topics

- [Surveys](/en/articles/17029647-surveys.md)
- [Surveys (Legacy Dialer)](/en/articles/15103961-surveys-legacy-dialer.md)
- [Post-Call Survey](/en/articles/8200861-post-call-survey.md)


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