Login
Returns a user token if the given email and password are correct. If the user has multi-factor authentication enabled, this endpoints sends the OTP (one-time password) and returns `{ mfaEnabled: true, mfaMethod: _User's_MFA_Method_ }`. Another request to must be made to /v1/login/mfa/token with the correct OTP.
post/v1/login/token
Request
- Base URLhttps://api.infoset.app (the document declares no server; this is the origin it was published from)
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Changes
No recorded changes to this operation across all 3 revisions of this API.