Skip to main content
Version: API v1

Get your current multi factor auth secret

GET /v1/mfa/secret/
v1
GET
getMfaSecret

Request

Responses

application/json

Multi factor auth secret

  • barcodestring
    required

    base64 encoded barcode content to scan from your mfa app. e.g. iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy.... You\ncan display it with <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUh..\" />\n

  • urlstring
    required

    Same as barcode, but in URL form.\n

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v1/mfa/secret?multiFactorCode=string