v1

latestOpenAPI 3.1.02026-07-1757128164.2 KB
Authentication

User login

Authenticates a user using their username and password. If the credentials are valid, a token is returned, which should be included in the Authorization header of subsequent requests.

post/api/v1/auth/login

Request body

passwordstring required
usernamestring required

Response

Successful login. Returns an authentication token.

timeout_sinteger required

Authentication token validity/timeout in seconds. Token validity refreshed to this value with each request.

tokenstring required

Token to be used for authentication