Close a poll
close_surveyClose a live survey to stop new answers while keeping results readable. Set show_results to control audience visibility.
Instructions
Close a live poll, quiz, rating or word cloud so it stops taking answers; its results stay readable. Use it once a survey has collected its answers, calling it once per survey to close several, or use close_room to end every live survey together with the room. show_results sets whether the audience may see this survey's results (false hides them, true allows them); phones and the wall show the live surveys or the most recently closed batch, so an older survey does not return to the screen. Works on an already-closed survey too, but not on a draft. Get survey_id from get_survey_results. Returns the survey, the room and its links. Needs rooms:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Six-character room code, for example ABC234 | |
| survey_id | Yes | The survey's id from get_survey_results | |
| show_results | No | false hides this survey's results from the audience; true allows them, though screens show only the live surveys or the latest closed batch |