Skip to content

Stored only in your browser. Get one under Tokens.

Start registering a security key or passkey​

POST
/auth/mfa/webauthn/register

Begins a WebAuthn registration ceremony. Requires the account password (or a fresh session for passwordless accounts). Set passkey to true to register a discoverable credential usable for passwordless sign-in.

Authorizations​

ApiKeyAuth
Type
API Key (header: Authorization)

Request Body​

application/json
JSON
{
  
"passkey": true,
  
"password": "string",
  
"sudo_token": "string"
}

Responses​

OK

application/json
JSON
{
  
"options": {
  
},
  
"session_id": "string"
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI