Skip to main content
PUT
Update Questionnaire

Path Parameters

questionnaire
integer
required

The questionnaire ID

Body

application/json
name
string
Maximum string length: 255
handle
string | null
Maximum string length: 255
description
string | null
questionnaireable_type
string | null
Maximum string length: 255
questionnaireable_id
string | null
Maximum string length: 255
profile_id
string | null
purpose
enum<string>
Available options:
booking,
general,
waitlist,
walk_in,
pre_visit,
post_visit,
cancellation,
profile_onboarding,
interaction,
survey
is_active
boolean
meta
string[] | null
questions
object[]

Flat questions[]: providing this on PUT replaces the current version with a new one (single Page 1). Mutually exclusive with pages[].

pages
object[]

Nested pages[]: providing this on PUT replaces the current version with a new one carrying the supplied page structure.

Minimum array length: 1

Response

Questionnaire

data
Questionnaire · object
required