Skip to content

Log de segurança da verificação em duas etapas

GET/api/auth/two-factor/events

Auth
Requires a token
API key:
No API key accepted
X-CommunityId
X-CommunityId Send the X-CommunityId of the community the operation happens in.
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.

Os eventos da conta, mais novos primeiro: `enabled`, `disabled`, `phoneChanged`, `deviceRemembered`, `deviceRemoved`, `devicesRemoved`, `recoveryCodeUsed`, `recoveryCodesRenewed`, `adminReset` (`byPlatform: true` quando foi o suporte da Memberfy).

Parameters

NameInTypeDescription
limitoptionalqueryinteger

Headers

NameTypeDescription
X-CommunityIdoptionalstring (uuid)ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade.

Responses

StatusDescription
200Os eventos.
401Token ausente, inválido ou expirado; token de outra comunidade (o `X-CommunityId` ou o `communityId` do corpo não é o do token); token antigo ou de uma sessão encerrada (troca de senha, convite aceito). Nesses casos a mensagem pede para entrar de novo (`auth.signInAgain`).

curl example

curl -X GET "https://api.memberfy.net/api/auth/two-factor/events" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-CommunityId: $COMMUNITY_ID"