PATCH
/projects/{project_id}/surveys/{survey_id}/statusUpdate survey status
Change a survey's lifecycle status. Flipping to `live` enables dispatch and widget serving. Flipping to `paused` suppresses triggers without deleting the definition. Returns the updated survey.
Base URL
https://seggwat.com/api/v1Parameters
project_idpathstringrequiredUnique identifier of the project (MongoDB ObjectId)
Example:
507f1f77bcf86cd799439011survey_idpathstringrequiredMongoDB ObjectId of the survey
Example:
6630f1c7c2b3a40a1e9e1b22Request Body
required
New lifecycle status.
application/jsonSetSurveyStatusRequest
Request body for updating a survey's lifecycle status.
statusSurveyStatusrequiredAuthoring/lifecycle status of a survey. Only `live` surveys are served by the widget or fired by the lifecycle dispatcher.
Enum:
draftlivepausedarchivedResponses
Navigation
