# Validate setup token | Copenhagen Truck Wash API

### Copenhagen Truck Wash API Help

# Validate setup token

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

## Endpoint

GET /subusers/setup

## Operation

Operation ID: `validateSubuserSetupToken`

Validates a subuser setup token generated during registration.

## Authentication

No authentication required.

## Parameters

Name | In | Required | Type | Description
--- | --- | --- | --- | ---
token | query | yes | string | One-time setup token received via SMS

## Responses

Status | Description | Content Types
--- | --- | ---
200 | Token is valid | application/json
400 |  |
500 |  |

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

{ "properties": { "message": { "example": "Token is valid", "type": "string" }, "subuser_id": { "example": 42, "type": "integer" } }, "type": "object" }
17 March 2026