https://3ati2ak.com/api/login
Authenticate with your credentials and receive a JWT access token.
| Accept | application/json |
| Content-Type | application/json |
| Field | Type | Required | Description |
|---|---|---|---|
| login | string | required | Your username |
| password | string | required | Your password |
{
"login": "your_username",
"password": "your_password"
}
{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
"token_type": "bearer",
"expires_in": 604800
}
| access_token | JWT token — use as Authorization: Bearer {token} in all subsequent requests |
| token_type | Always bearer |
| expires_in | Token lifetime in seconds (604800 = 7 days) |
{"success": false, "message": "These credentials do not match our records."}