Manual
CLI
API
Log in Get started free

Get two-factor authentication

Says whether two-factor authentication is on for your account.

Says whether two-factor authentication is on for your account.

HTTP
GET /account/mfa

Access: Session token only. API keys get 403 with insufficient_scope.

Response 200 #

JSON
{ "enabled": true, "enabledAt": "2026-10-17T09:30:00+00:00", "recoveryCodesLeft": 9 }

Response fields #

FieldTypeDescription
enabledbooleanWhether signing in asks for a code.
enabledAtstring or nullWhen it was turned on.
recoveryCodesLeftintegerHow many recovery codes can still be used.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.