POST
/projects/{project_id}/surveysCreate survey from template
Create a new survey from a canonical template. The survey starts in `draft` status — use `PATCH .../status` to flip it to `live` before the widget serves it. Returns 400 when the project has reached the 10-survey limit.
Base URL
https://seggwat.com/api/v1Parameters
project_idpathstringrequiredUnique identifier of the project (MongoDB ObjectId)
Example:
507f1f77bcf86cd799439011Request Body
required
Template to instantiate.
application/jsonCreateSurveyRequest
Request body for creating a survey from a canonical template.
templatestringrequiredWhich canonical template to instantiate. `trial_exit` is intentionally excluded — that template requires billing context and is managed via the dashboard.
Enum:
blanknpscsatcesExample:
npsResponses
Navigation
