Creating a survey uses
POST /surveys/<survey_key> (with the key in the path), not POST /surveys.Sample payload
Endpoints
Get all Surveys
GET /surveys
Retrieve all surveys.
Get a single Survey
GET /surveys/<survey_key>
Retrieve a single survey by its key.
Unique key of the survey.
Create Survey
POST /surveys/<survey_key>
Create a survey. Use the sample payload as a guide for the request body.
Unique key of the survey.
Update Survey
PATCH /surveys/<survey_key>
Update an existing survey. Include only the fields you want to change.
Unique key of the survey.
Delete Survey
DELETE /surveys/<survey_key>
Delete a survey.
Unique key of the survey.
