Authentication
List two-factor methods
Changed onThe authenticated user's enrolled two-factor methods and how many recovery codes remain unused.
get/v1/users/self/mfa
Request
- Base URLhttps://api.assinafy.com.br
- URLhttps://api.assinafy.com.br/v1/users/self/mfa
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Response
Enrolled methods
Example response
{
"status": 200,
"data": {
"methods": [
{
"id": "a1b2c3d4e5f60718293a4b5c6d7e8f90",
"type": "Totp",
"label": "My phone",
"confirmed_at": "2026-09-09T14:21:03Z",
"last_used_at": "2026-09-09T18:02:44Z"
}
],
"recovery_codes_remaining": 8
}
}Changes
- info
endpoint added
- info