GET
/
account
/
two-factor
Setup 2fa
curl --request GET \
  --url https://dashboard.gratian.pro/api/client/account/two-factor \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "image_url_data": "<string>",
    "secret": ""
  }
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

The response is of type object.