Skip to content
Guides

Get two-factor status

Reports whether an authenticator app is active and how many recovery codes are left.

GET/v1/users/me/two-factor

Reports whether an authenticator app is active and how many recovery codes are left.

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Header Parameters

Authorization*string

OAuth 2.0 bearer token.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/users/me/two-factor" \  -H "Authorization: Bearer <token>"
{  "isEnabled": false,  "recoveryCodesLeft": 1}