---
title: "Create WebAuthn authentication verification"
method: POST
path: "/api/experience/verification/web-authn/authentication"
tags: ["Experience"]
---

# Create WebAuthn authentication verification

`POST /api/experience/verification/web-authn/authentication`

Create a new WebAuthn authentication verification record based on the user's existing WebAuthn credential. This verification record can be used to verify the user's WebAuthn credential.

## Response `200`

WebAuthn authentication successfully initiated.

- object
  - `verificationId` string, required — The unique ID for the WebAuthn authentication record, required to verify the WebAuthn authentication challenge.
  - `authenticationOptions` object, required — Options for the user to authenticate with their WebAuthn credential.
    - `challenge` string, required
    - `timeout` number
    - `rpId` string
    - `allowCredentials` object[]
      - `type` string, "public-key", required
      - `id` string, required
      - `transports` string[]
    - `userVerification` 'required' | 'preferred' | 'discouraged'
    - `extensions` object
      - `appid` string
      - `credProps` boolean
      - `hmacCreateSecret` boolean

## Other responses

- `400` — The user does not have a verified WebAuthn credential.
- `404` — The current interaction is not yet identified. All MFA verification records must be associated with an identified user.

---

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