---
title: "Update a question"
method: PUT
path: "/v3/questions/{question_id}"
tags: ["questions", "v3"]
---

# Update a question

`PUT /v3/questions/{question_id}`

## Path parameters

- `question_id` number, required

## Request body

- Model217
  - `survey_id` number, required — Survey Id
  - `question` Model216, required
    - `text` string
    - `description` string
    - `required` boolean
    - `properties` Model211
      - `data` Model210
        - `min` string
        - `max` string
        - `step` 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
        - `wait` 0 | 1 | 2 | 3 | 4 | 5
        - `type` string
        - `start` 0 | 1
        - `file_types` string[]
        - `include_feedback_by_rating` boolean — To include feedback by rating for Feedback question type
        - `promoter` string — Promoter text for NPS feedback question type
        - `passive` string — Passive text for NPS feedback question type
        - `detractor` string — Detractor text for NPS feedback question type
        - `low_effort` string — Low effort text for CES feedback question type
        - `neutral` string — Neutral text for CES feedback question type
        - `high_effort` string — High effort text for CES feedback question type
        - `satisfied` string — Satisfied text for CSAT feedback question type
        - `dissatisfied` string — Dissatisfied text for CSAT feedback question type
        - `translate_answers` boolean — To translate answers for feedback question type
      - `recode` Recode
        - `enabled` boolean
        - `value` string
        - `label` Label
          - `yes` Yes
            - `enabled` boolean
            - `value` string
          - `no` Yes
            - `enabled` boolean
            - `value` string
    - `display_logic` Model213
      - `logics` Model212[]
        - `join_condition` 'and' | 'or' — Logic operator of the Join condition
        - `type` 'param' | 'question' | 'contact' | 'channel' | 'expression' | 'deviceType', required — Logic type
        - `comparator` 'isPassed' | 'isNotPassed' | 'startsWith' | 'endsWith' | 'contains' | 'equalsString' | 'doesNotContain' | 'notEqualTo' | 'lessThanForParam' | 'greaterThanForParam'
        - `variable_id` number — Variable Id for the Logic
        - `question_id` number — Question Id for the Logic
        - `contact` 'firstName' | 'lastName' | 'email' | 'phone' | 'mobile' | 'jobTitle' | 'language' — Contact property for the Logic
        - `channel` 'type' | 'name' — Channel property for the Logic
        - `expression_id` number — Expression Id for the Logic
        - `parent_question_id` number — If question is a subquestion, parent_question_id will be the Id of the parent question
        - `value` string — Value for the logic
    - `skip_logic` SkipLogic
      - `logics` Model214[]
        - `jump_to` string
        - `redirect_url` string
        - `logics` Model212[]
          - `join_condition` 'and' | 'or' — Logic operator of the Join condition
          - `type` 'param' | 'question' | 'contact' | 'channel' | 'expression' | 'deviceType', required — Logic type
          - `comparator` 'isPassed' | 'isNotPassed' | 'startsWith' | 'endsWith' | 'contains' | 'equalsString' | 'doesNotContain' | 'notEqualTo' | 'lessThanForParam' | 'greaterThanForParam'
          - `variable_id` number — Variable Id for the Logic
          - `question_id` number — Question Id for the Logic
          - `contact` 'firstName' | 'lastName' | 'email' | 'phone' | 'mobile' | 'jobTitle' | 'language' — Contact property for the Logic
          - `channel` 'type' | 'name' — Channel property for the Logic
          - `expression_id` number — Expression Id for the Logic
          - `parent_question_id` number — If question is a subquestion, parent_question_id will be the Id of the parent question
          - `value` string — Value for the logic

## Response `200`

Successful

---

[API](https://skmtc.net/surveysparrow/apis/api-documentation.md) · [All operations](https://skmtc.net/surveysparrow/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/surveysparrow/api-documentation/versions/25b2eba467de/schema)
