Get all backup codes for the user with their usage status. Requires identity verification.
Responses
-
The backup codes were retrieved successfully.
-
Unauthorized or identity verification required.
-
Permission denied, the application is a third-party application. Account API operations that require recent authentication only accept first-party applications.
-
No backup codes found for the user.
GET
/api/my-account/mfa-verifications/backup-codes
curl \
--request GET 'https://[tenant_id].logto.app/api/my-account/mfa-verifications/backup-codes' \
--header "Authorization: Bearer $ACCESS_TOKEN"