Auth
Refresh Token
Get a new access token using a refresh token.
Authorization
Authorization
RequiredBearer <token>Enter the JWT token you received from the login endpoint (without 'Bearer' prefix)
In: header
Request Body
application/json
Requiredrefresh_token
RequiredRefresh TokenResponse Body
Schema for token response.
TypeScript Definitions
Use the response body type in TypeScript.
access_token
RequiredAccess Tokenrefresh_token
RequiredRefresh Tokentoken_type
Token TypeDefault:
"bearer"
How is this guide?
Login POST
Log in a user and return JWT tokens. Simply provide your email and password directly in the request body: ```json { "email": "user@example.com", "password": "yourpassword" } ``` The response will contain an access_token that should be used in the Authorization header for protected endpoints, with the format: `Bearer {access_token}`
Register User POST
Register a new user.