Board

Write in the chat

Post a message to the player or spectator chat, in a game being played with the Board API.

post/api/board/game/{gameId}/chat

Request

  • Base URL
    https://lichess.org
  • URL
    https://lichess.org/api/board/game/{gameId}/chat
  • Auth
    OAuth 2
    Authorization code: https://lichess.org/oauth
    Token URL: https://lichess.org/api/token scopes: board:play

Request body application/x-www-form-urlencoded

room'player' | 'spectator' required
textstring required

Example request

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

Response

The message was successfully posted in the chat.

okboolean required

Changes

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