Zum Hauptinhalt springen

Validate your second factor

POST/authenticate-mfa/
v2
POST
user-authenticate-mfa

Request

Responses

application/json

Your authentication request was successful and you've got an access token.

  • expiresstring (date-time)
    required

    The expiration date of the token.

  • refreshTokenstring
    required

    Refresh token to refresh your access token even after it has expired.

  • tokenstring
    required

    Public token to identify yourself against the api gateway.

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"email":"a.lovelace@example.com","multiFactorCode":"123456","password":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/authenticate-mfa