# List self-serve tasks | Copenhagen Truck Wash API

### Copenhagen Truck Wash API Help

# List self-serve tasks

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

## Endpoint

GET /department/selfserve/tasks

## Operation

Operation ID: `listSelfserveTasks`

Retrieve a list of self-serve tasks for a department, lane, product, or condition_id.

## Authentication

Security requirements:

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

## Parameters

Name | In | Required | Type | Description
--- | --- | --- | --- | ---
id | query | no | integer | Filter by task ID
department | query | no | integer | Filter by department ID
lane | query | no | integer | Filter by lane ID
product | query | no | integer | Filter by product ID
condition_id | query | no | integer | Filter by condition ID
|  | no | object |

## Responses

Status | Description | Content Types
--- | --- | ---
200 | Successfully retrieved tasks | application/json
400 |  |
404 |  |

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

{ "items": { "$ref": "#/components/schemas/DepartmentSelfserveTask" }, "type": "array" }
17 March 2026