---
title: "Answer a consumer's questions"
method: PATCH
path: "/consumers/{consumer_id}/syncs/{syncid}/questions"
tags: ["Syncs"]
---

# Answer a consumer's questions

`PATCH /consumers/{consumer_id}/syncs/{syncid}/questions`

## Request

- Base URL: `https://api.chift.eu`
- URL: `https://api.chift.eu/consumers/{consumer_id}/syncs/{syncid}/questions`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/chift/apis/chift-api/docs/consumers/:consumer_id/syncs/:syncid/questions/patch.ts> (a function with typed inputs; its response is checked against the schema)

Stores the answers given and leaves the others as they are. A question no running capability asks, or an answer of the wrong type, is refused.

## Path parameters

- `consumer_id` string, uuid, required
- `syncid` string, uuid, required

## Query parameters

- `language` string, nullable: ISO 639-1 code of the language of the texts (en, fr, nl, de, es; any case), falling back to English. Without it, translation keys.

## Request body

- UpdateConsumerQuestions
  - `answers` object, required: Question key -> answer. Only the questions given change.

## Response `200`

Successful Response

- ConsumerQuestions
  - `fields` SettingField[], required: The questions to ask, rendered as settings.
    - `key` string, required
    - `type` 'date' | 'str' | 'bool' | 'int' | 'enum' | 'str_list' | 'dict', required: The input control the frontend should render for a setting.
    - `group` 'period' | 'write' | 'state' | 'observability' | 'scope', required: Non-overlapping concerns. A setting belongs to exactly one.
    - `title` string, required
    - `tooltip` string, required
    - `default` unknown
    - `options` SettingOption[]
      - `value` string, required
      - `title` string, required
    - `supported` boolean
    - `unsupported_reason` string, nullable
  - `answers` object, required: Question key -> the answer, or its default while unanswered (null when there is none).

## Other responses

- `404`: Not Found
- `422`: Unprocessable Entity

## Changes

- **2026-11-03** `020884969534`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/chift/apis/chift-api/changes/consumers/:consumer_id/syncs/:syncid/questions/patch.md)

---

[API](https://skmtc.dev/chift/apis/chift-api.md) - [All operations](https://skmtc.dev/chift/apis/chift-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chift/apis/chift-api/revisions/020884969534?raw)
