### Copenhagen Truck Wash API Help

# Create/add a passkey for the authenticated user

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

## Endpoint

POST /account/security/passkeys

## Operation

Operation ID: `createPasskey`

Create/add a passkey for the authenticated user

## Authentication

Security requirements:

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

## Request Body

Required: yes.

Content type: `application/json`

{ "$ref": "#/components/schemas/PasskeyCreateRequest" }

## Responses

Status | Description | Content Types
--- | --- | ---
200 | Passkey created | application/json
400 | Invalid session or request | application/json

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

{ "properties": { "id": { "type": "integer" } }, "type": "object" }

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

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