The Open API specification for Synapse is now available for download!

Download Open API Spec

POST /2fa/token

Performs authentication using 2FA, the body of the request needs to include the twoFaToken received as part of the error when authenticating and the totp code shown by the authenticator application.

Resource URL

Resource Information
Authentication not required
Request Object TwoFactorAuthLoginRequest
Response Object LoginResponse