Messaging

Send a private message

Send a private message to another player.

post/inbox/{username}

Request

  • Base URL
    https://lichess.org
  • URL
    https://lichess.org/inbox/{username}
  • Auth
    OAuth 2
    Authorization code: https://lichess.org/oauth
    Token URL: https://lichess.org/api/token scopes: msg:write

Path parameters

usernamestring required
Example:someplayer

Request body application/x-www-form-urlencoded

textstring required

Example request

{
  "text": "Thank you for the game!"
}

Response

The private message has been successfully sent.

okboolean required

Changes

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