Login — Obtain Access Token
Authenticate with your API credentials to receive a signed JWT token. Include this token in every subsequent request to protected endpoints.Endpoint
This endpoint accepts form-data, not JSON. The
Content-Type must be application/x-www-form-urlencoded.Request
Form Fields
API username. Configured via the
API_USERNAME environment variable.Plain-text password. Validated against the bcrypt hash stored in
API_PASSWORD_HASH.Response
200 OK — Token Issued
HS256-signed JWT token. Valid for
JWT_ACCESS_TOKEN_EXPIRE_MINUTES minutes (default: 60 minutes).Always
"bearer". Indicates the scheme to use in the Authorization header.401 Unauthorized — Invalid Credentials
Using the Token
Include the token in theAuthorization header of every request to a protected endpoint:
