Reference / Auth

Begin enrolling a passkey for the signed-in user.

POST /v1/auth/passkeys/register/begin
End-user session operationId: passkey_register_begin

Authorization

Called from the browser with the publishable application id (x-application-id); the access token lives in memory.

Request body · required

  • origin string required

    The calling page's origin (e.g. `https://app.example.com`); validated against allowed origins.

Responses

200 Creation options
{
  "data": {
    "options": {},
    "state": "string"
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}
401 No end-user session

Request

curl -X POST "http://localhost:8080/v1/auth/passkeys/register/begin" \
  -H "Content-Type: application/json" \
  -d '{
  "origin": "string"
}'

Try it

live request
POST http://localhost:8080/v1/auth/passkeys/register/begin

Request body

application/json