API Authorization methods

Authorization

POST https://hightouch.ru/api/auth/login/

Getting an authorization token for further use in the API. "expiry": null means that the token is indefinite. ✅ Does not require an authorization token.

Request Body

NameTypeDescription

email

string

password

string

{
    "status": "ok",
    "result": {
        "expiry": null,
        "token": "8a1165f5b8e431a8a593878a9d61e02b9b28cb9d4e8843df2c02769c122c1336",
        "user": {
            "id": 215,
            "email": "gugaevkirill@gmail.com"
        }
    }
}

Exit

POST https://app.hightouch.ai/api/auth/logout/

Revokes the authorization token

Output on all devices

POST https://hightouch.ru/api/auth/logoutall/

Cancels all authorization tokens for the given user.

Last updated