GET
/
sdk
/
{environmentId}
/
users
/
mfa
/
register
/
totp
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/register/totp \
  --header 'Authorization: Bearer <token>'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "type": "totp",
  "secret": "<string>",
  "uri": "<string>"
}

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
secret
string
required

The secret key for the TOTP device

uri
string
required

The OTP Auth URI