---
title: "Complete passkey registration"
method: POST
path: "/accounts/complete-passkey-registration"
tags: ["Multi-Factor Authentication"]
---

# Complete passkey registration

`POST /accounts/complete-passkey-registration`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/complete-passkey-registration`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/docs/accounts/complete-passkey-registration/post.ts> (a function with typed inputs; its response is checked against the schema)

Completes the passkey registration process

## Request body

- object
  - `credential` object, required: WebAuthn credential
  - `credential_alias` string, required: User-friendly name for the passkey

## Response `200`

Passkey registration completed successfully

- object
  - `data` object, required
    - `passkey` WebAuthCredentialAlias
      - `id` string, required: Credential ID (base64 encoded)
      - `alias` string, required: User-friendly name
      - `created_on` string, required: Creation date
    - `recovery_codes` string[]

## Other responses

- `400`: Bad request
- `401`: Unauthorized

## Changes

- **2025-06-12** `4979dfd00eda`: 2 warning, 1 info
  - removed the optional property `passkey` from the response with the `200` status
  - removed the optional property `recovery_codes` from the response with the `200` status
  - added the required property `data` to the response with the `200` status
- **2025-06-10** `964e2801b73d`: 1 breaking, 3 info
  - the `passkey` response's property type changed from no type to `object` for status `200`
  - added the required property `passkey/alias` to the response with the `200` status
  - added the required property `passkey/created_on` to the response with the `200` status
  - added the required property `passkey/id` to the response with the `200` status

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/changes/accounts/complete-passkey-registration/post.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
