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

# Create WebAuthn registration verification

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

Create a new WebAuthn registration verification record. The verification record can be used to bind a new WebAuthn credential to the user's profile.

## Response `200`

WebAuthn registration successfully created.

- object
  - `verificationId` string, required — The unique verification ID for the WebAuthn registration record. This ID is required to verify the WebAuthn registration challenge.
  - `registrationOptions` object, required — The WebAuthn registration options that the user needs to create a new WebAuthn credential.
    - `rp` object, required
      - `name` string, required
      - `id` string
    - `user` object, required
      - `id` string, required
      - `name` string, required
      - `displayName` string, required
    - `challenge` string, required
    - `pubKeyCredParams` object[], required
      - `type` string, "public-key", required
      - `alg` number, required
    - `timeout` number
    - `excludeCredentials` object[]
      - `type` string, "public-key", required
      - `id` string, required
      - `transports` string[]
    - `authenticatorSelection` object
      - `authenticatorAttachment` 'platform' | 'cross-platform'
      - `requireResidentKey` boolean
      - `residentKey` 'discouraged' | 'preferred' | 'required'
      - `userVerification` 'required' | 'preferred' | 'discouraged'
    - `attestation` 'none' | 'indirect' | 'direct' | 'enterprise'
    - `extensions` object
      - `appid` string
      - `credProps` boolean
      - `hmacCreateSecret` boolean

## Other responses

- `400` — Bad Request
- `404` — Entity not found. <br/> - `session.identifier_not_found:` The current interaction is not identified yet. All MFA verification records must be associated with a 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)
