Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

[POST] /game/invitation/extendInvitation

AUTHENTICATION

AoE2:DE

Request

POST /game/invitation/extendInvitation HTTP/1.1
Host: aoe-api.worldsedgelink.com
Accept: */*
Accept-Encoding: identity
Cookie: ApplicationGatewayAffinity=794ba560e22a634f229c95c54bb135c8;ApplicationGatewayAffinityCORS=794ba560e22a634f229c95c54bb135c8;worldsedgelink=1976371366;
Cache-Control: no-store
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Pragma: no-cache
Content-Length: 172
parametertypevaluecomments
callNumint123
connect_idstr
gatheringidint
gatheringpasswordstr
inviteeidint
lastCallTimetimestamp
sessionIDstr

Response

[
    0 // result status code: 0 = success, 2 = error
]

The sample above is the error form. A successful invitation returns [0] and the invitee receives a WSS ExtendInvitationMessage with [inviterProfileInfo, gatheringid, gatheringpassword].

Notes

  • The server must validate that the gathering exists, that gatheringpassword matches and that the caller is already a peer of it. The invitee is identified by profile ID (inviteeid), not by platform user ID.
  • The answer comes back through replyToInvitation; see the invitation flow notes for the full captured sequence.