auth

Login

Login with email and password.

Returns JWT access token, refresh token, and user information.

  • Access token expires in 15 minutes
  • Refresh token expires in 14 days
  • Implements token rotation for security
  • Rate limited: 10 requests per minute

Check order: user exists → is_active → email_verified → password This allows unverified users to see verification message without correct password.

post/auth/login

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/auth/login
  • Auth: none declared

Request body

emailstring email required
passwordstring required

Response

Successful Response

OR

Changes

No recorded changes to this operation across all 5 revisions of this API.