Profile

Authorize user

WARNING: for abusing this method (for example, bruteforce), your IP will be baned and a complaint will be filed with the relevant authorities! <br/> Login into user account with login and password. Returns token.

post/profile/login

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/profile/login
  • Auth: none declared

Request body

need_jsontrue | false

Return token in JSON (or only send in cookie)

recaptcha_responsestring

Response from HCaptcha

passwordstring
loginstring

Users email

Response

Success response

Example response

{
  "response": {
    "success": true,
    "token": "token"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.