Get a survey
get_surveyFetch a SmartSurvey survey's page/question counts, theme, settings, or full design with pages, questions, choices, variables, and translations. Contact details remain redacted unless requested.
Instructions
One survey with page and question counts, theme and settings. With detail=true the full design is returned: variables, translations, and every page with its questions, answer choices and logic flags (this is the survey design, not respondents' answers). Emails and phone numbers in the title and in page, question and choice text are redacted unless include_contact_details is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Return the full design (pages, questions, choices) via the /detailed endpoint | |
| survey_id | Yes | Survey ID (a positive integer) | |
| translation_id | No | Translation to return the survey text in; 0 or omitted for the default | |
| include_contact_details | No | Stop redacting email addresses and phone numbers in the survey title, nickname, page descriptions, question and choice text and variable labels |