Passkey Account

Base URL

https://api.enclave.money

Authorization

Headers: {
    ...
    Authorization: <YOUR_API_KEY>
}

Generate registration options for WebAuthn

get
Query parameters
usernamestringRequired

The username of the user to register

Example: [email protected]
Responses
200

Registration options generated successfully

application/json
Responseobject
get
/v3/webauthn/register/generate-options

Verify WebAuthn registration

post
Query parameters
usernamestringRequired

The username of the user to verify

Body
anyOptional
Responses
200

Registration verified successfully

application/json
post
/v3/webauthn/register/verify

Generate authentication options

get

Generate authentication options for a user

Query parameters
usernamestringRequired

The username of the user

Responses
200

Authentication options generated successfully

application/json
get
/webauthn/authenticate/generate-options

Verify authentication

post

Verify the authentication for a user

Query parameters
usernamestringRequired

The username of the user

Body
idstringOptional
rawIdstringOptional
authenticatorAttachmentstringOptional
clientExtensionResultsobjectOptional
typestringOptional
Responses
200

Authentication verified successfully

application/json
post
/webauthn/authenticate/verify

Generate transaction options for WebAuthn

post
Body
anyOptional
Responses
200

Transaction options generated successfully

No content

post
/v3/webauthn/transaction/generate-options

No content

Verify WebAuthn transaction

post
Query parameters
usernamestringRequired

The username of the user verifying the transaction

Body
objectOptional
Responses
200

Transaction verified successfully

No content

post
/v3/webauthn/transaction/verify

No content

Last updated