POST
/v1/auth/webauthn/signup/start

Create a new user using WebAuthn

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<Project ID\>

Try it

/v1/auth/webauthn/signup/start

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

loginIdstring

userobject

originstring

passkeyOptionsobject

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/auth/webauthn/signup/start" \
  -d '{
  "loginId": "string",
  "user": {
    "loginId": "string",
    "name": "string",
    "phone": "string",
    "email": "string",
    "givenName": "string",
    "middleName": "string",
    "familyName": "string"
  },
  "origin": "string",
  "passkeyOptions": {
    "authenticatorSelection": {
      "authenticatorAttachment": 0,
      "requireResidentKey": 0,
      "residentKey": 0,
      "userVerification": 0,
      "extensionsJSON": "string"
    },
    "attestation": false,
    "userVerification": 0,
    "extensionsJSON": "string"
  }
}'

{
  "transactionId": "string",
  "options": "string",
  "create": true
}

Was this helpful?