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
headerrequired

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

Path Parameters

environmentId
string
required

ID of the environment

Response

200 - application/json
id
string
required

ID of the environment

type
enum<string>
required
Available options:
totp
secret
string
required

The secret key for the TOTP device

uri
string
required

The OTP Auth URI