v1
latestOpenAPI 3.1.02026-07-242325051.4 MBAccount
Account:Verify2FA
Verify the one time password (received with SMS or received from your authenticator app). If the one time password is correct you will receive a JWT token and a refresh token. The JWT token expires in one hour. You can refresh your JTW token with a call to Account:RefreshToken with the refresh token
post/v2/accounts/2fa/verify
Request body
Example request
{
"deviceId": "4ebb4595eab529e499b9b866707a956aee2bf4ab"
}Response
OK
Example response
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
"accessTokenExpiresAt": "2024-06-04T08:15:00+01:00",
"refreshToken": "90c00a7a9e970f9bbe076e05743e00648908c38366c551a8cdf524ba424fc3e520988f6320a54989bbe85931ffe1bfcc63e33fd8b45d58564039943bfbd8dfe7",
"refreshTokenExpiresAt": "2024-06-04T08:15:00+01:00"
}