v1
latestOpenAPI 3.0.02026-08-0622087.9 KBAI
AI Login Authentication using User ID
Generate JWT token using only the user's ID.
post/api/jwt-token-generate
Request body
Example request
{
"user_id": 111
}Response
Successful login
Example response
{
"access_token": "eyJ0eXAiOiJKV1QiLCJhb...",
"token_type": "bearer",
"expires_in": 7200,
"has_ai_acces": true,
"app_url": "http://localhost"
}