---
title: "Get WebAuthn public key credential creation options"
method: POST
path: "/api/session/options"
tags: ["Session"]
---

# Get WebAuthn public key credential creation options

`POST /api/session/options`

Retrieves options necessary for WebAuthn attestation ceremony (sign up with a Passkey).

## Request body

- object
  - `username` string — Username for the new user

## Response `200`

The WebAuthn creation options

- object

---

[API](https://skmtc.net/contao/apis/contao-manager-api.md) · [All operations](https://skmtc.net/contao/apis/contao-manager-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contao/contao-manager-api/revisions/074d8046de13/schema)
