---
title: "Begin passkey registration"
method: POST
path: "/v1/auth/passkeys/register/begin"
tags: ["Authentication"]
---

# Begin passkey registration

`POST /v1/auth/passkeys/register/begin`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/auth/passkeys/register/begin`
- Auth: HTTP bearer

Returns a WebAuthn challenge for creating a new passkey credential.

## Response `200`

Registration options

- object
  - `challenge` string
  - `rp_id` string
  - `rp_name` string
  - `user_id` string
  - `user_name` string
  - `user_display_name` string
  - `attestation` string
  - `authenticator_selection` object

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
