GET
/
sdk
/
{environmentId}
/
users
/
mfa
/
register
/
passkey
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/register/passkey \
  --header 'Authorization: Bearer <token>'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "type": "totp",
  "registration": {
    "attestation": "direct",
    "rp": {
      "id": "An example name",
      "name": "An example name"
    },
    "user": {
      "id": "An example name",
      "name": "An example name",
      "displayName": "An example name"
    },
    "challenge": "An example name",
    "pubKeyCredParams": [
      {
        "alg": 123,
        "type": "public-key"
      }
    ],
    "timeout": 123,
    "authenticatorSelection": {
      "authenticatorAttachment": "cross-platform",
      "requireResidentKey": true,
      "residentKey": "discouraged",
      "userVerification": "discouraged"
    },
    "excludeCredentials": [
      {
        "id": "<string>",
        "type": "public-key"
      }
    ],
    "extensions": {
      "appid": "<string>",
      "credProps": true,
      "hmacCreateSecret": true
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36

Response

200
application/json
successful operation
id
string
required
Required string length: 36
type
enum<string>
required
Available options:
totp,
passkey
registration
object
required