curl --request POST \ --url https://{defaultHost}/v1/auth/{app_id}/devices/register \ --header 'X-Authorization: <api-key>'
Copy
{ "user_verification": "required", "options": {}}
WebAuthn
Register new WebAuthn device
Initiate registration of a new WebAuthn device (passkey) for the authenticated user. Returns credential creation options. Use the SDK instead of calling this manually. Requires a valid access token.
POST
/
v1
/
auth
/
{app_id}
/
devices
/
register
Register new WebAuthn device
Copy
curl --request POST \ --url https://{defaultHost}/v1/auth/{app_id}/devices/register \ --header 'X-Authorization: <api-key>'