v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-07-2113138232.4 KB
surveys

Update a survey

Update an existing survey, including its polls and options. Requires Administrator privileges.

patch/api/surveys/{id_or_slug}

Path parameters

id_or_slugstring required

The ID or slug of the survey.

Request body

Response

Successful

type_of'survey' required

Resource discriminator

idinteger required
titlestring required
slugstring required
survey_type_of'community_pulse' | 'industry' | 'fun' required

Survey category

activeboolean nullable

Whether the survey is currently active

display_titleboolean required

Whether to show the title to respondents

allow_resubmissionboolean required

Whether users can submit multiple times

daily_email_distributionsinteger

Daily email distributions count

extra_email_context_paragraphstring nullable

Optional context paragraph for emails

target_response_countinteger

Target response count

target_completion_datestring date-time nullable

Target completion date in the future

created_atstring date-time required
updated_atstring date-time required