POST
/v1/auth/webauthn/signup/start

Authorization

Descope Project ID
AuthorizationBearer <token>

Project ID as bearer token.

In: header

Request Body

application/json

loginId?string
user?object
origin?string
passkeyOptions?object
loginOptions?object
displayName?string

Optional label for the new passkey (WebAuthn user.displayName), shown by the browser prompt and kept by the OS keychain. It does not change the user's profile name. When empty the label is derived from the signed-up user's name, email or phone, as before.

Create a new user using WebAuthn

curl -X POST "https://api.descope.com/v1/auth/webauthn/signup/start" \  -H "Content-Type: application/json" \  -d '{}'
{  "transactionId": "string",  "options": "string",  "create": true}
export interface Response {transactionId?: stringoptions?: stringcreate?: boolean}
Was this helpful?