API Authentication

Logware’s API uses JWT (or JSON Web Token) authentication. Any endpoints that require authorization will need this token to be included in an “Authorization Bearer” header. Once generated, a token is valid for 4 hours. You can regenerate a new token at any time.

Authenticate Method/Url

POST https://api.logware.io/api/users/authenticate

Authenticate Payload

    "Login": "[login]",
    "Password": "[password]"

Authenticate Response

    "login": "[your login]",
    "password": null,
    "token": "[token]",
    "id": "[internal id]"

The “token” variable in the response is the value you will need to include in later API requests.

More information about JWT can be found here https://jwt.io/introduction/

Related Articles