Authentication
Login
Authenticate and receive a JWT access token.
POST
Request body
string
required
The email address associated with the account.
string
required
The account password.
Response
string
A human-readable confirmation message. Example:
"Login successful!"number
HTTP status code.
200 on success.object
Include the
access_token in the Authorization header of all subsequent requests that require authentication: Authorization: Bearer <access_token>.Error responses
Error responses follow this structure: