auth

Login

User login with email and password. Returns JWT access token and user information.

Uses primary database to avoid read replica lag issues, especially for logins immediately after registration.

post/api/v1/auth/login

Request

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

Request body

emailstring required
passwordstring required

Response

Successful Response

access_tokenstring required
token_typestring
expires_ininteger required

Changes

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