---
title: "Verify WebAuthn registration"
method: POST
path: "/api/verifications/web-authn/registration/verify"
tags: ["Verifications"]
---

# Verify WebAuthn registration

`POST /api/verifications/web-authn/registration/verify`

Verify the WebAuthn registration by the user's response.

## Request body

- object
  - `verificationRecordId` string, required — The ID of the verification record.
  - `payload` object, required — The payload of the WebAuthn device.
    - `type` string, "WebAuthn", required
    - `id` string, required
    - `rawId` string, required
    - `response` object, required
      - `clientDataJSON` string, required
      - `attestationObject` string, required
      - `authenticatorData` string
      - `transports` string[]
      - `publicKeyAlgorithm` number
      - `publicKey` string
    - `authenticatorAttachment` 'cross-platform' | 'platform'
    - `clientExtensionResults` object, required
      - `appid` boolean
      - `crepProps` object
        - `rk` boolean
      - `hmacCreateSecret` boolean

## Response `200`

The WebAuthn registration has been successfully verified.

- object
  - `verificationRecordId` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[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)
