Jump to content


Invite player to clan


  • Please log in to reply
1 reply to this topic

_DarthInVader_ #1 Posted 20 October 2021 - 11:44 PM

    Private

  • Player
  • 466 battles
  • 1
  • [ULELE] ULELE
  • Member since:
    09-16-2021

Hi,

I am creating a clan webiste where user login via wargaming id then I'm getting player's statistics via api. If certain conditions are true I want him to click on the button and then the invitation to clan is send to his account. Is this possible via api? I want it to be full automatic that I will just accept or refuse user recruitment forms on WG clan page. 

 

I've searched via google and in WG api, but I don't see any option to send invitation to user via api. Please help :) 



Adrie_l4_BaGueTTe #2 Posted 12 November 2021 - 03:54 PM

    Lance-corporal

  • Player
  • 30393 battles
  • 72
  • [14JUI] 14JUI
  • Member since:
    10-19-2014

Post:
https://eu.wargaming...on/api/invites/

 

Headers:

X-CSRFToken: <your token>
X-Requested-With: XMLHttpRequest

 

Content:

comment: ""

recipient_id: <account_id>

source: "clans_portal.player_search"






1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users