curl --request GET \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/auth/passkey \
--header 'Authorization: Bearer <token>'
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"type": "totp",
"assertion": {
"rpId": "An example name",
"challenge": "An example name",
"timeout": 123,
"userVerification": "discouraged",
"allowCredentials": [
{
"id": "<string>",
"type": "public-key"
}
],
"extensions": {
"appid": "<string>",
"credProps": true,
"hmacCreateSecret": true
}
}
}
curl --request GET \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/auth/passkey \
--header 'Authorization: Bearer <token>'
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"type": "totp",
"assertion": {
"rpId": "An example name",
"challenge": "An example name",
"timeout": 123,
"userVerification": "discouraged",
"allowCredentials": [
{
"id": "<string>",
"type": "public-key"
}
],
"extensions": {
"appid": "<string>",
"credProps": true,
"hmacCreateSecret": true
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the environment
36
"95b11417-f18f-457f-8804-68e361f9164f"
successful operation
The response is of type object
.
Was this page helpful?