Authentication

Note

Validate your connection by doing a login. In the response you will receive a JWTToken. You must set that token as an Authorization: Bearer HTTP header for all next requests.

Example

Request:
POST /authenticate
Body:
        {
                "clientVersion": "string",
                "device": "string",
                "firmId": "string",
                "passwordHash": "string",
                "token2FA": "string",
                "username": "string"
        }
Response:
        {
                "defaultDateFormat": "string",
                "firmId": "string",
                "firstName": "string",
                "hasAgreedToDisclaimer": true,
                "isAdmin": true,
                "jwtToken": "string",
                "lastName": "string",
                "loginRequired": true,
                "message": "string",
                "requestId": "string",
                "status": "OK",
                "userId": 0,
                "username": "string"
        }