Profile

Authenticate

Authenticate

post/profile/passkeys/auth

Request

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

Request body

need_jsonboolean

Return token in JSON response (otherwise would be sent as a cookie)

idstring

base64 generated ID

challenge_idinteger

User ID

Response

Success response

Example response

{
  "response": {
    "success": true,
    "token": "new token or nothing if no json"
  }
}

Changes

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