Skip to main content
GET
/
api
/
v1
/
auth
/
2fa
/
status
Get 2Fa Status
curl --request GET \
  --url https://api.example.com/api/v1/auth/2fa/status \
  --header 'Authorization: Bearer <token>'
{
  "enabled": true,
  "backup_codes_remaining": 0
}

Documentation Index

Fetch the complete documentation index at: https://docs.apilens.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

OK

enabled
boolean
required
backup_codes_remaining
integer
default:0