Skip to main content

POST /auth/login

This endpoint allows a user to log in by providing their email and password. On successful authentication, it returns access and refresh tokens for subsequent API requests.

Request Body

string
required
The email address of the user.
string
required
The password for the account.

Response

boolean
Indicates if the login was successful.
string
Human-readable status message.
object
An object containing the user’s information.
object
An object containing the authentication tokens.