publish_survey
Publish a survey to make it live at its public URL. Works for surveys in draft, unpublished, or edited states.
Instructions
Publish a survey, making it live at its public URL.
Works for surveys in draft, unpublished, or previously-published-then-edited state. Use list_surveys to find the survey_id and check its status. Use unpublish_survey to take it back down.
Args: list_id: Audience/list ID (from list_audiences). survey_id: Survey ID (from list_surveys).
Returns: JSON with status 'published' and the survey_id, or an error object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| list_id | Yes | ||
| survey_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |