OAuth

Test multiple OAuth tokens

For up to 1000 OAuth tokens, returns their associated user ID and scopes, or null if the token is invalid. The method is POST so a longer list of tokens can be sent in the request body.

post/api/token/test

Request

  • Base URL
    https://lichess.org
  • URL
    https://lichess.org/api/token/test
  • Auth
    none required

Request body text/plain

string required

Response

The representation of the OAuth tokens.

object required

Changes

No recorded changes to this operation across all 16 revisions of this API.