---
title: "Finish passkey enrollment and store the credential"
method: POST
path: "/api/auth/passkey/register/finish"
tags: ["auth"]
---

# Finish passkey enrollment and store the credential

`POST /api/auth/passkey/register/finish`

## Request

- Base URL: `https://api.hillstar.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hillstar.ai/api/auth/passkey/register/finish`
- Auth: none declared

## Request body

- PasskeyRegisterFinishInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `challenge_id` string, required
  - `credential` unknown, required
  - `nickname` string

## Response `200`

OK

- PasskeyRegisterFinishOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `credential_count` integer, required
  - `credential_id` integer, required
  - `nickname` string
  - `recovery_code` string

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/hillstar/apis/rfpai-api-go.md) - [All operations](https://skmtc.dev/hillstar/apis/rfpai-api-go/llms.txt) - [OpenAPI document](https://skmtc.dev/hillstar/apis/rfpai-api-go/revisions/b2532dc47fc6?raw)
