AI
AI Login Authentication using User ID
Generate JWT token using only the user's ID.
post/api/jwt-token-generate
Request
- Base URLhttps://skillspark.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}Changes
No recorded changes to this operation across all 2 revisions of this API.