Endpoint
POST/v1/auth/login
Authentication: None
Request body
string
required
The user’s registered username.
string
required
The user’s password.
Response
string
JWT token for the session.
string
ISO 8601 timestamp when the token expires.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Authenticate a PIN user with username and password to receive a JWT token and expiration timestamp. No API key required.
/v1/auth/login
Authentication: None
curl -X POST http://localhost:8001/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"username":"alice","password":"secret123"}'
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_at": "2025-02-10T14:30:00Z"
}
Was this page helpful?