{
  "info": {
    "_postman_id": "9331d280-9dd0-46c4-b209-403abab3f012",
    "name": "Lichess.org API reference Account Relations API",
    "description": "# Introduction\nWelcome to the reference for the Lichess API! Lichess is free/libre,\nopen-source chess server powered by volunteers and donations.\n- Get help in the [Lichess Discord channel](https://discord.gg/lichess)\n- API demo app with OAuth2 login and gameplay: [source](https://github.com/lichess-org/api-demo) / [demo](https://lichess-org.github.io/api-demo/)\n- API UI app with OAuth2 login and endpoint forms: [source](https://github.com/lichess-org/api-ui) / [website](https://lichess.org/api/ui)\n- [Contribute to this documentation on Github](https://github.com/lichess-org/api)\n- Check out [Lichess widgets to embed in your website](https://lichess.org/developers)\n- [Download all Lichess rated games](https://database.lichess.org/)\n- [Download all Lichess puzzles with themes, ratings and votes](https://database.lichess.org/#puzzles)\n- [Download all evaluated positions](https://database.lichess.org/#evals)\n\n## Endpoint\nAll requests go to `https://lichess.org` (unless otherwise specified).\n\n## Clients\n- [Python general API](https://github.com/lichess-org/berserk)\n- [MicroPython general API](https://github.com/mkomon/uberserk)\n- [Python general API - async](https://pypi.org/project/async-lichess-sdk)\n- [Python Lichess Bot](https://github.com/lichess-bot-devs/lichess-bot)\n- [Python Board API for Certabo](https://github.com/haklein/certabo-lichess)\n- [Java general API](https://github.com/tors42/chariot)\n- [JavaScript & TypeScript general API](https://github.com/devjiwonchoi/equine)\n- [LichessNET - C# API Wrapper](https://github.com/Rabergsel/LichessNET)\n- [.NET general API](https://github.com/Dblike/LichessSharp)\n\n## Rate limiting\nAll requests are rate limited using various strategies,\nto ensure the API remains responsive for everyone.\nOnly make one request at a time.\nIf you receive an HTTP response with a [429 status](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#429),\nyou have exceded one of the rate limits.\nIn most cases, waiting one minute before retrying will be sufficient, but some limits may require longer.\nReduce your request frequency before retrying.\n\n## Streaming with ND-JSON\nSome API endpoints stream their responses as [Newline Delimited JSON a.k.a. **nd-json**](https://github.com/ndjson/ndjson-spec), with one JSON object per line.\n\nHere's a [JavaScript utility function](https://gist.github.com/ornicar/a097406810939cf7be1df8ea30e94f3e) to help reading NDJSON streamed responses.\n\n## Authentication\n### Which authentication method is right for me?\n[Read about the Lichess API authentication methods and code examples](https://github.com/lichess-org/api/blob/master/example/README.md)\n\n### Personal Access Token\nPersonal API access tokens allow you to quickly interact with Lichess API without going through an OAuth flow.\n- [Generate a personal access token](https://lichess.org/account/oauth/token)\n- `curl https://lichess.org/api/account -H \"Authorization: Bearer {token}\"`\n- [NodeJS example](https://github.com/lichess-org/api/tree/master/example/oauth-personal-token)\n\n### Token Security\n- Keep your tokens secret. Do not share them in public repositories or public forums.\n- Your tokens can be used to make your account perform arbitrary actions (within the limits of the tokens' scope). You remain responsible for all activities on your account.\n- Do not hardcode tokens in your application's code. Use environment variables or a secure storage and ensure they are not shipped/exposed to users. Be especially careful that they are not included in frontend bundles or apps that are shipped to users.\n- If you suspect a token has been compromised, revoke it immediately.\n\nTo see your active tokens or revoke them, see [your Personal API access tokens](https://lichess.org/account/oauth/token).\n\n### Authorization Code Flow with PKCE\nThe authorization code flow with PKCE allows your users to **login with Lichess**.\nLichess supports unregistered and public clients (no client authentication, choose any unique client id).\nThe only accepted code challenge method is `S256`.\nAccess tokens are long-lived (expect one year), unless they are revoked.\nRefresh tokens are not supported.\n\nSee the [documentation for the OAuth endpoints](#tag/OAuth) or\nthe [PKCE RFC](https://datatracker.ietf.org/doc/html/rfc7636#section-4) for a precise protocol description.\n\n- [Demo app](https://lichess-org.github.io/api-demo/)\n- [Minimal client-side example](https://github.com/lichess-org/api/tree/master/example/oauth-app)\n- [Flask/Python example](https://github.com/lakinwecker/lichess-oauth-flask)\n- [Java example](https://github.com/tors42/lichess-oauth-pkce-app)\n- [NodeJS Passport strategy to login with Lichess OAuth2](https://www.npmjs.com/package/passport-lichess)\n\n#### Real life examples\n- [PyChess](https://github.com/gbtami/pychess-variants) ([source code](https://github.com/gbtami/pychess-variants))\n- [Lichess4545](https://www.lichess4545.com/) ([source code](https://github.com/cyanfish/heltour))\n- [English Chess Federation](https://ecf.octoknight.com/)\n- [Rotherham Online Chess](https://rotherhamonlinechess.azurewebsites.net/tournaments)\n\n### Token format\nAccess tokens and authorization codes match `^[A-Za-z0-9_]+$`.\nThe length of tokens can be increased without notice. Make sure your application can handle at least 512 characters.\nBy convention tokens have a recognizable prefix, but do not rely on this.\n\n\nContact Support:\n Name: Lichess.org API\n Email: contact@lichess.org",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:06:53.000Z",
    "updatedAt": "2026-07-28T02:06:53.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-9331d280-9dd0-46c4-b209-403abab3f012"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "rel",
          "item": [
            {
              "name": "following",
              "item": [
                {
                  "name": "Get users followed by the logged in user",
                  "id": "27c7b7cc-da29-46d8-af54-c2ee9f16e52a",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "oauth2",
                      "oauth2": [
                        {
                          "key": "scope",
                          "value": "preference:read preference:write email:read engine:read engine:write challenge:read challenge:write challenge:bulk study:read study:write tournament:write racer:write puzzle:read puzzle:write team:read team:write team:lead follow:read follow:write msg:write board:play bot:play web:mod",
                          "type": "string"
                        },
                        {
                          "key": "accessTokenUrl",
                          "value": "https://lichess.org/api/token",
                          "type": "string"
                        },
                        {
                          "key": "authUrl",
                          "value": "https://lichess.org/oauth",
                          "type": "string"
                        },
                        {
                          "key": "grant_type",
                          "value": "authorization_code",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/x-ndjson"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/api/rel/following",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "api",
                        "rel",
                        "following"
                      ]
                    },
                    "description": "Users are streamed as [ndjson](#description/streaming-with-nd-json).\n"
                  },
                  "response": [
                    {
                      "id": "6fdbefbe-a6cb-4b1a-b231-38912b1904e2",
                      "name": "The list of users followed by a user.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/x-ndjson"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/rel/following",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "rel",
                            "following"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "text",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/x-ndjson"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "",
                            "type": "text/plain"
                          },
                          "key": "Access-Control-Allow-Origin",
                          "value": "'*'"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"id\": \"<string>\",\n  \"url\": \"<uri>\",\n  \"username\": \"<string>\",\n  \"perfs\": {\n    \"chess960\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"atomic\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"racingKings\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"ultraBullet\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"blitz\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"kingOfTheHill\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"threeCheck\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"antichess\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"crazyhouse\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"bullet\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"correspondence\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"horde\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"puzzle\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"classical\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"rapid\": {\n      \"games\": \"<integer>\",\n      \"rating\": \"<integer>\",\n      \"rd\": \"<integer>\",\n      \"prog\": \"<integer>\",\n      \"prov\": \"<boolean>\",\n      \"rank\": \"<integer>\"\n    },\n    \"storm\": {\n      \"runs\": \"<integer>\",\n      \"score\": \"<integer>\"\n    },\n    \"racer\": {\n      \"runs\": \"<integer>\",\n      \"score\": \"<integer>\"\n    },\n    \"streak\": {\n      \"runs\": \"<integer>\",\n      \"score\": \"<integer>\"\n    }\n  },\n  \"title\": \"IM\",\n  \"flair\": \"<string>\",\n  \"createdAt\": \"<long>\",\n  \"disabled\": \"<boolean>\",\n  \"tosViolation\": \"<boolean>\",\n  \"profile\": {\n    \"flag\": \"<string>\",\n    \"location\": \"<string>\",\n    \"bio\": \"<string>\",\n    \"realName\": \"<string>\",\n    \"fideRating\": \"<integer>\",\n    \"uscfRating\": \"<integer>\",\n    \"ecfRating\": \"<integer>\",\n    \"cfcRating\": \"<integer>\",\n    \"rcfRating\": \"<integer>\",\n    \"dsbRating\": \"<integer>\",\n    \"links\": \"<string>\"\n  },\n  \"seenAt\": \"<long>\",\n  \"playTime\": {\n    \"total\": \"<integer>\",\n    \"tv\": \"<integer>\",\n    \"human\": \"<integer>\"\n  },\n  \"patron\": \"<boolean>\",\n  \"patronColor\": \"<integer>\",\n  \"verified\": \"<boolean>\",\n  \"playing\": \"<uri>\",\n  \"count\": {\n    \"all\": \"<integer>\",\n    \"rated\": \"<integer>\",\n    \"draw\": \"<integer>\",\n    \"loss\": \"<integer>\",\n    \"win\": \"<integer>\",\n    \"bookmark\": \"<integer>\",\n    \"playing\": \"<integer>\",\n    \"import\": \"<integer>\",\n    \"me\": \"<integer>\",\n    \"ai\": \"<integer>\",\n    \"drawH\": \"<integer>\",\n    \"lossH\": \"<integer>\",\n    \"winH\": \"<integer>\"\n  },\n  \"streaming\": \"<boolean>\",\n  \"streamer\": {\n    \"twitch\": {\n      \"channel\": \"<uri>\"\n    },\n    \"youtube\": {\n      \"channel\": \"<uri>\"\n    }\n  },\n  \"followable\": \"<boolean>\",\n  \"following\": \"<boolean>\",\n  \"blocking\": \"<boolean>\",\n  \"fideId\": \"<number>\"\n}",
                      "createdAt": "2026-07-28T02:06:53.000Z",
                      "updatedAt": "2026-07-28T02:06:53.000Z",
                      "uid": "35240-6fdbefbe-a6cb-4b1a-b231-38912b1904e2"
                    }
                  ],
                  "createdAt": "2026-07-28T02:06:53.000Z",
                  "updatedAt": "2026-07-28T02:06:53.000Z",
                  "uid": "35240-27c7b7cc-da29-46d8-af54-c2ee9f16e52a"
                }
              ],
              "id": "4b2fee34-940a-4171-af4b-e8ea636c9834",
              "createdAt": "2026-07-28T02:06:53.000Z",
              "updatedAt": "2026-07-28T02:06:53.000Z",
              "uid": "35240-4b2fee34-940a-4171-af4b-e8ea636c9834"
            },
            {
              "name": "follow",
              "item": [
                {
                  "name": "{username}",
                  "item": [
                    {
                      "name": "Follow a player",
                      "id": "88cc90d5-fa61-4bbd-9b5e-5ba36fca81fa",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "preference:read preference:write email:read engine:read engine:write challenge:read challenge:write challenge:bulk study:read study:write tournament:write racer:write puzzle:read puzzle:write team:read team:write team:lead follow:read follow:write msg:write board:play bot:play web:mod",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://lichess.org/api/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://lichess.org/oauth",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/rel/follow/:username",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "rel",
                            "follow",
                            ":username"
                          ],
                          "variable": [
                            {
                              "id": "38d3975f-b2c2-46bd-93d5-820699a5254c",
                              "key": "username",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Follow a player, adding them to your list of Lichess friends.\n"
                      },
                      "response": [
                        {
                          "id": "0106b58a-8c5a-4362-bf2b-116fab981542",
                          "name": "The player was successfully added.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/rel/follow/:username",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "rel",
                                "follow",
                                ":username"
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"ok\": \"<boolean>\"\n}",
                          "createdAt": "2026-07-28T02:06:53.000Z",
                          "updatedAt": "2026-07-28T02:06:53.000Z",
                          "uid": "35240-0106b58a-8c5a-4362-bf2b-116fab981542"
                        }
                      ],
                      "createdAt": "2026-07-28T02:06:53.000Z",
                      "updatedAt": "2026-07-28T02:06:53.000Z",
                      "uid": "35240-88cc90d5-fa61-4bbd-9b5e-5ba36fca81fa"
                    }
                  ],
                  "id": "1800d3ee-38b7-43da-8260-03e924549f44",
                  "createdAt": "2026-07-28T02:06:53.000Z",
                  "updatedAt": "2026-07-28T02:06:53.000Z",
                  "uid": "35240-1800d3ee-38b7-43da-8260-03e924549f44"
                }
              ],
              "id": "56a17dd6-a6f0-4e8c-9657-38a504446160",
              "createdAt": "2026-07-28T02:06:53.000Z",
              "updatedAt": "2026-07-28T02:06:53.000Z",
              "uid": "35240-56a17dd6-a6f0-4e8c-9657-38a504446160"
            },
            {
              "name": "unfollow",
              "item": [
                {
                  "name": "{username}",
                  "item": [
                    {
                      "name": "Unfollow a player",
                      "id": "5d5281fc-f137-42bb-b027-8fcc38e1f89c",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "preference:read preference:write email:read engine:read engine:write challenge:read challenge:write challenge:bulk study:read study:write tournament:write racer:write puzzle:read puzzle:write team:read team:write team:lead follow:read follow:write msg:write board:play bot:play web:mod",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://lichess.org/api/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://lichess.org/oauth",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/rel/unfollow/:username",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "rel",
                            "unfollow",
                            ":username"
                          ],
                          "variable": [
                            {
                              "id": "2f4254ca-93ee-4ff1-8e89-793571d89246",
                              "key": "username",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Unfollow a player, removing them from your list of Lichess friends.\n"
                      },
                      "response": [
                        {
                          "id": "45119e5d-8281-4f89-b746-b6afd92865c5",
                          "name": "The player was successfully removed.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/rel/unfollow/:username",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "rel",
                                "unfollow",
                                ":username"
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"ok\": \"<boolean>\"\n}",
                          "createdAt": "2026-07-28T02:06:53.000Z",
                          "updatedAt": "2026-07-28T02:06:53.000Z",
                          "uid": "35240-45119e5d-8281-4f89-b746-b6afd92865c5"
                        }
                      ],
                      "createdAt": "2026-07-28T02:06:53.000Z",
                      "updatedAt": "2026-07-28T02:06:53.000Z",
                      "uid": "35240-5d5281fc-f137-42bb-b027-8fcc38e1f89c"
                    }
                  ],
                  "id": "2865958c-1b7d-455b-ae03-a93d416436a4",
                  "createdAt": "2026-07-28T02:06:53.000Z",
                  "updatedAt": "2026-07-28T02:06:53.000Z",
                  "uid": "35240-2865958c-1b7d-455b-ae03-a93d416436a4"
                }
              ],
              "id": "158eeb92-c12f-4605-b0e2-c0205278991a",
              "createdAt": "2026-07-28T02:06:53.000Z",
              "updatedAt": "2026-07-28T02:06:53.000Z",
              "uid": "35240-158eeb92-c12f-4605-b0e2-c0205278991a"
            },
            {
              "name": "block",
              "item": [
                {
                  "name": "{username}",
                  "item": [
                    {
                      "name": "Block a player",
                      "id": "62d755f5-6688-4e96-984d-1c3b0272900e",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "preference:read preference:write email:read engine:read engine:write challenge:read challenge:write challenge:bulk study:read study:write tournament:write racer:write puzzle:read puzzle:write team:read team:write team:lead follow:read follow:write msg:write board:play bot:play web:mod",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://lichess.org/api/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://lichess.org/oauth",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/rel/block/:username",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "rel",
                            "block",
                            ":username"
                          ],
                          "variable": [
                            {
                              "id": "c1f63e5a-68aa-4e91-bd5e-1069a4030fce",
                              "key": "username",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Block a player, adding them to your list of blocked Lichess users.\n"
                      },
                      "response": [
                        {
                          "id": "16840ac8-dda1-4b73-ac04-d48b6f320466",
                          "name": "The player was successfully added.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/rel/block/:username",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "rel",
                                "block",
                                ":username"
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"ok\": \"<boolean>\"\n}",
                          "createdAt": "2026-07-28T02:06:53.000Z",
                          "updatedAt": "2026-07-28T02:06:53.000Z",
                          "uid": "35240-16840ac8-dda1-4b73-ac04-d48b6f320466"
                        }
                      ],
                      "createdAt": "2026-07-28T02:06:53.000Z",
                      "updatedAt": "2026-07-28T02:06:53.000Z",
                      "uid": "35240-62d755f5-6688-4e96-984d-1c3b0272900e"
                    }
                  ],
                  "id": "81862898-b2c8-4a5a-8cb0-8b305e7bdbbe",
                  "createdAt": "2026-07-28T02:06:53.000Z",
                  "updatedAt": "2026-07-28T02:06:53.000Z",
                  "uid": "35240-81862898-b2c8-4a5a-8cb0-8b305e7bdbbe"
                }
              ],
              "id": "c713e2b8-0a09-4221-a05e-c890682599d2",
              "createdAt": "2026-07-28T02:06:53.000Z",
              "updatedAt": "2026-07-28T02:06:53.000Z",
              "uid": "35240-c713e2b8-0a09-4221-a05e-c890682599d2"
            },
            {
              "name": "unblock",
              "item": [
                {
                  "name": "{username}",
                  "item": [
                    {
                      "name": "Unblock a player",
                      "id": "91aee44f-53b8-4a7d-ad45-e26942e41794",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "preference:read preference:write email:read engine:read engine:write challenge:read challenge:write challenge:bulk study:read study:write tournament:write racer:write puzzle:read puzzle:write team:read team:write team:lead follow:read follow:write msg:write board:play bot:play web:mod",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://lichess.org/api/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://lichess.org/oauth",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/rel/unblock/:username",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "rel",
                            "unblock",
                            ":username"
                          ],
                          "variable": [
                            {
                              "id": "c3d8ce56-fb23-4d30-97f2-4ae3636a0c3e",
                              "key": "username",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Unblock a player, removing them from your list of blocked Lichess users.\n"
                      },
                      "response": [
                        {
                          "id": "9ead789a-9d40-4c48-b979-843dfd8f6a1c",
                          "name": "The player was successfully removed.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/rel/unblock/:username",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "rel",
                                "unblock",
                                ":username"
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"ok\": \"<boolean>\"\n}",
                          "createdAt": "2026-07-28T02:06:53.000Z",
                          "updatedAt": "2026-07-28T02:06:53.000Z",
                          "uid": "35240-9ead789a-9d40-4c48-b979-843dfd8f6a1c"
                        }
                      ],
                      "createdAt": "2026-07-28T02:06:53.000Z",
                      "updatedAt": "2026-07-28T02:06:53.000Z",
                      "uid": "35240-91aee44f-53b8-4a7d-ad45-e26942e41794"
                    }
                  ],
                  "id": "07973cf9-188e-48bb-812f-cdc6009a043e",
                  "createdAt": "2026-07-28T02:06:53.000Z",
                  "updatedAt": "2026-07-28T02:06:53.000Z",
                  "uid": "35240-07973cf9-188e-48bb-812f-cdc6009a043e"
                }
              ],
              "id": "ec7208c0-7d90-4c2c-b960-f610ffc42bf4",
              "createdAt": "2026-07-28T02:06:53.000Z",
              "updatedAt": "2026-07-28T02:06:53.000Z",
              "uid": "35240-ec7208c0-7d90-4c2c-b960-f610ffc42bf4"
            }
          ],
          "id": "107fcd22-7735-47aa-b33c-31c4879718e9",
          "createdAt": "2026-07-28T02:06:53.000Z",
          "updatedAt": "2026-07-28T02:06:53.000Z",
          "uid": "35240-107fcd22-7735-47aa-b33c-31c4879718e9"
        }
      ],
      "id": "0fe06f1c-9b19-4ddf-9e2f-306150a5a7ac",
      "createdAt": "2026-07-28T02:06:53.000Z",
      "updatedAt": "2026-07-28T02:06:53.000Z",
      "uid": "35240-0fe06f1c-9b19-4ddf-9e2f-306150a5a7ac"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://lichess.org"
    }
  ]
}