v1

latestOpenAPI 3.1.02026-08-063776831.4 MB
Auth

User Login

Authenticates a user with email and password and returns a JWT token

post/auth/login

Headers

tenant-idstring

use "default" as tenant-id

Request body

emailstring required

User email address

passwordstring required

User password

Example request

{
  "email": "user@example.com",
  "password": "password"
}

Response

Authentication successful

accessTokenstring required

JWT access token

expiresIninteger required

Token expiration time in seconds

Example response

{
  "accessToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
  "expiresIn": 86400
}