Begin enrolling a passkey for the signed-in user.
POST
End-user session operationId: passkey_register_begin/v1/auth/passkeys/register/begin Authorization
Called from the browser with the publishable application id (x-application-id); the access token lives in memory.
Request body · required
originstring requiredThe 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 requestPOST
http://localhost:8080/v1/auth/passkeys/register/begin