Questions
Create a question
client.questions.create(QuestionCreateParams { question } params, RequestOptionsoptions?): Question
POST/v5/questions
List questions
client.questions.list(QuestionListParams { ending_before, ids, include_archived, 4 more } query?, RequestOptionsoptions?): CursorPage<Question>
GET/v5/questions
Get a question
client.questions.retrieve(stringquestionID, RequestOptionsoptions?): Question
GET/v5/questions/{question_id}
Update a question
client.questions.update(stringquestionID, QuestionUpdateParams { name } body, RequestOptionsoptions?): Question
PATCH/v5/questions/{question_id}
Archive a question
client.questions.archive(stringquestionID, RequestOptionsoptions?): Question
DELETE/v5/questions/{question_id}
Restore an archived question
client.questions.restore(stringquestionID, RequestOptionsoptions?): Question
POST/v5/questions/{question_id}/restore
ModelsExpand Collapse
Question = CategoricalQuestion { id, configuration, created_at, 7 more } | RatingQuestion { id, configuration, created_at, 7 more } | NumberQuestion { id, created_at, created_by, 7 more } | 3 more
Question = CategoricalQuestion { id, configuration, created_at, 7 more } | RatingQuestion { id, configuration, created_at, 7 more } | NumberQuestion { id, created_at, created_by, 7 more } | 3 more
One of the following: