Skip to main content
POST
Authenticate user and obtain JWT tokens

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

User login credentials.

email
string
required
Example:

"test@example.com"

password
string
required
Example:

"strongpassword123"

Response

Authentication successful

username
string

Username of the authenticated user

role
string

Role of the authenticated user

access_token
string

JWT access token for API authentication

refresh_token
string

JWT refresh token for renewing access tokens