Skip to main content
POST
Login
Authenticates a user with email and password credentials. Returns access and refresh tokens for subsequent authenticated requests.

Authentication

No authentication required.

Request Body

string
required
User’s registered email address.
string
required
User’s password.

Response

string
Success message confirming authentication.
string
JWT access token for authenticating API requests. Include this in the Authorization header as Bearer {accessToken}.
string
JWT refresh token for obtaining new access tokens when they expire.
object
The authenticated user’s information.
string
Unique user identifier.
string
User’s email address.
string | null
User’s first name.
string | null
User’s last name.
string | null
User’s phone number.
boolean
Email verification status.
string | null
Version of the product tour completed by the user.
string | null
Timestamp when the tour was completed.

Example Request

Example Response

Error Responses

string
Error type identifier.
string
Human-readable error message.

Common Errors

401 Unauthorized
400 Bad Request