# LinkClan **POST /bot/clans/{discordid}/** Allows to link the discord server with the clan. This can only be done by clan leaders or anyone with bot permissions. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key ## Parameters ### Path parameters - **discordid** (string) ### Query parameters - **memberid** (string) ## Responses ### 200 Default Response #### Body: application/json (object) - **Success** (string) - **ClanID** (integer) - **Server Discord ID** (string) ### 400 Bad Request #### Body: application/json (string) string ### 401 Unauthorized #### Body: application/json (string) string ### 404 Not Found #### Body: application/json (string) string ### 503 Service Unavailable #### Body: application/json (string) string [Powered by Bump.sh](https://bump.sh)