Login
POST /api/v1/auth/login
POST
/api/v1/auth/login
Login endpoint.
Authenticates user and returns JWT tokens.
Request Body required
Seção intitulada “Request Body required ” LoginRequest
Login request schema.
object
email
required
Email
string format: email
password
required
Password
string
Responses
Seção intitulada “ Responses ”Successful Response
TokenResponse
Token response schema.
object
access_token
required
Access Token
string
refresh_token
required
Refresh Token
string
token_type
Token Type
string
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string