Get MFA enrollment summary for an identity
/api/v1/identities/{id}/mfaReturns an identity's MFA enrollment summary — enrolled factors and recovery-code state — as a server-to-server admin read. MFA factors are a single set per identity across the Account; access is gated by an Environment-scoped membership check. Secret material is redacted in the response. Returns 404 when the identity has no membership in this Environment.
Authentication
Bearer Token
Authorization Option A JWT access token
API Key
X-API-Key Option B API key for management-tier access
Path Parameters
idstring Required Responses
application/json
data *AccountIdentityMfaResponseDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/api/v1/identities/value/mfa" \ -H "X-API-Key: $CANOPY_API_KEY"
{ "data": { "factors": [ { "id": "00000000-0000-0000-0000-000000000000", "type": "totp", "label": "iPhone 15", "enrolled_at": "2026-04-20T12:00:00.000Z", "last_used_at": "2026-04-20T12:00:00.000Z" } ], "recovery_codes_generation": 0, "recovery_codes_remaining": 0, "mfa_admin_reset_at": "2026-04-20T12:00:00.000Z" } }
Tell us how we can improve this guide.