Auth

Log in

Authenticate with email and password. Sets a session cookie — UNLESS the account has a second factor enabled, in which case the response carries mfa_required and a challenge instead, and no cookie is set until POST /v1/auth/2fa/verify succeeds.

post/v1/auth/login

Request

  • Base URL: https://api.briefgate.dev
  • URL: https://api.briefgate.dev/v1/auth/login
  • Auth: none required

Request body

emailstring email required
passwordstring required

Response

Either a session, or a second-factor challenge

OR

Changes

No recorded changes to this operation across all 1 revision of this API.