# Add self-serve question | Copenhagen Truck Wash API

### Copenhagen Truck Wash API Help

# Add self-serve question

This endpoint documentation is generated directly from `openapi.yaml`.

## Endpoint

POST /department/selfserve/questions

## Operation

Operation ID: `addSelfserveQuestion`

Add a new self-serve question. Questions are typically shared across departments and lanes by omitting department, lane, and product, which default to 0.

## Authentication

Security requirements:

Scheme | Scopes
--- | ---
BearerAuth | -

## Request Body

Required: yes.

Content type: `application/json`

{ "properties": { "condition_id": { "nullable": true, "type": "integer" }, "department": { "default": 0, "type": "integer" }, "description": { "type": "string" }, "lane": { "default": 0, "type": "integer" }, "order_priority": { "default": 0, "type": "integer" }, "product": { "default": 0, "type": "integer" }, "question": { "type": "string" } }, "required": [ "question", "description" ], "type": "object" }

## Responses

Status | Description | Content Types
--- | --- | ---
200 | Successfully added question | application/json
400 |  |
500 |  |

Schema for response `200` (`application/json`):

{ "$ref": "#/components/schemas/DepartmentSelfserveQuestion" }
17 March 2026