Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Use API-Key YOUR_API_KEY. The key selects the Production or Development environment.

Headers

If-Match
string
required

Quoted Study version last read from ETag or Study.version. Required on mutating Study writes.

Example:

"\"126300\""

Path Parameters

studyId
string<uuid>
required
questionId
string<uuid>
required

Query Parameters

cascade
enum<string>
Available options:
true,
false

Body

application/json

A partial Question update. Omitted fields retain their stored values.

name
string | null

A new unique name, or null to remove the existing name.

Required string length: 1 - 128
title
object

The authored title accepted when creating a Question.

description
object

Optional respondent-facing description shown with a Question.

required
boolean
randomizePosition
boolean

Whether this Question participates in layout-position randomization. Defaults to false.

position
object

Repositions the Question. Submit this field by itself or with blockId.

blockId
string<uuid> | null

Public UUID of the Block that will contain this Question, or null to move it to the Study root. Submit this field by itself or with position.

aiFollowUp
object | null
type
enum<string>

The public Question type.

Available options:
OPEN_TEXT,
SINGLE_SELECT,
MULTIPLE_SELECT,
RATING_SCALE,
NPS,
VALIDATED_TEXT,
RANK_ORDER,
MATRIX,
TEXT_URL_PROMPT,
CONSENT_LEGAL,
AI_DYNAMIC,
CONJOINT,
MAX_DIFF
userPrompt
string | null
carryForward
object

Carries respondent-selected items from an earlier Question.

randomizeOptions
boolean
presentation
enum<string>
Available options:
LIST,
DROPDOWN
options
object

One ordered item to rank. Its value is immutable; its label may be updated.

selection
object

Inclusive minimum and maximum number of Options a respondent may select.

range

Number of points on the rating scale.

Available options:
3
scaleLabelType
enum<string>

How the rating-scale points are displayed.

Available options:
NUMBER,
STAR,
SMILEY
lowEndLabel
string | null

Optional label shown at one endpoint of the scale.

Maximum string length: 255
highEndLabel
string | null

Optional label shown at one endpoint of the scale.

Maximum string length: 255
validation
Email · object

The validation rule applied to a validated-text response.

responsePlaceholder
string | null

Placeholder shown in the response field.

validationErrorMessage
string | null

Error shown when the response does not satisfy validation.

Required string length: 1 - 200

Optional respondent-facing footer shown below the response field.

labelForHighestRank
string
Required string length: 1 - 255
labelForLowestRank
string
Required string length: 1 - 255
rows
object[]
Minimum array length: 2
columns
object[]
Minimum array length: 2
randomizeRows
boolean
displayLimit
integer | null

Total number of authored choices shown to each respondent, including pinned choices.

Required range: x >= 2
action
Continue · object

Button behavior for a Text/URL Prompt.

skipButtonText
string | null
Required string length: 1 - 255
labelForBest
string
Required string length: 1 - 255
labelForWorst
string
Required string length: 1 - 255
configuration
Recommended MaxDiff configuration · object
selectionStyle
enum<string>

How respondents mark the best and worst item in each set.

Available options:
RADIO,
SMILEY
Required string length: 1 - 255
collectName
boolean
submitButtonText
string | null
Required string length: 1 - 255
assetId
string | null

Opaque id of a CONSENT_DOCUMENT asset owned by this environment.

Pattern: ^[A-Za-z0-9_-]{1,128}$
features
object[]
Required array length: 3 - 8 elements
exclusions
object[]
image
object | null

Attaches a QUESTION_IMAGE recorded on this Study. Null removes the current image. Omission leaves it unchanged.

displayLogic
Condition · object

Replaces Question-owned display logic. Null clears it. Omission preserves the stored value.

skipLogic
object[] | null

Replaces Question skip logic. Null or an empty array clears it. Omission preserves the stored value.

Maximum array length: 20

Response

OK

Canonical Question resource.

id
string<uuid>
required
title
object
required

Canonical rich-text Question title.

required
boolean
required
displayLogic
Condition · object
required

A single typed condition. Operators that inspect answer state omit value; choice comparisons use immutable Option values.

skipLogic
object[]
required

Ordered skip rules, limited to 20. An empty array clears skip logic.

Maximum array length: 20
aiFollowUp
object | null
required
randomizePosition
boolean
required
type
enum<string>
required
Available options:
OPEN_TEXT
name
string
description
object

Canonical respondent-facing Question description.

image
object

The image shown with a Question. Omitted when the Question has no image.

responsePlaceholder
string

Placeholder shown in the response field.