Questions

questions

Methods

Create Question ->
post/v5/questions

Create Question

Response fields
Request example
200Example
List Questions -> CursorPage<>
get/v5/questions

List Questions

Get Question ->
get/v5/questions/{question_id}

Get Question

Update Question ->
patch/v5/questions/{question_id}

Update Question

Archive Question ->
delete/v5/questions/{question_id}

Archive a question by setting archived_at in the db

Restore Archived Question ->
post/v5/questions/{question_id}/restore

Restore Archived Question

Domain types

CategoricalQuestion = { id, configuration, created_at, 7 more... }
CategoricalQuestionConfiguration = { choices, dropdown, multi }
FormQuestion = { id, configuration, created_at, 7 more... }
FormQuestionConfiguration = { form_schema }
FreeTextQuestion = { id, created_at, created_by, 7 more... }
FreeTextQuestionConfiguration = { max_length, min_length }
NumberQuestion = { id, created_at, created_by, 7 more... }
NumberQuestionConfiguration = { max, min }
RatingQuestion = { id, configuration, created_at, 7 more... }
RatingQuestionConfiguration = { max_label, min_label, steps }
TimestampQuestion = { id, created_at, created_by, 7 more... }
TimestampQuestionConfiguration = { multi }