curl --request POST \ --url https://zeus.agentspro.cn/api/auth/api-token \ --header 'Content-Type: application/json' \ --data '{ "email": "user@example.com", "password": "your-password" }'
{ "token": "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCIsImtpZCI6Inh4eCJ9...", "refreshToken": "dGhpcyBpcyBhIHJlZnJlc2ggdG9rZW4...", "user": { "id": "user_abc123", "email": "user@example.com", "name": "Frank" }, "expires_in": 3600 }
Obtain a JWT Token using email and password — for external callers to directly access the AI Backend
Authorization: Bearer <token>
POST /api/auth/refresh
Show user
user_id
3600