---
title: "Begin passkey registration for the current user"
method: POST
path: "/auth/security/passkeys/begin"
tags: ["Auth"]
---

# Begin passkey registration for the current user

`POST /auth/security/passkeys/begin`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/auth/security/passkeys/begin`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Request body

- BeginPasskeyRegistrationInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `current_password` string, required: Current password for re-authentication
  - `name` string, required: Optional passkey label
  - `reauth_grant` string: One-time action-bound reauthentication grant

## Response `200`

OK

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

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
