alkem-io / client-web

Default web frontend, enabling browsing the Alkemio platform - so the hosted Challenges and communities collaborating around those Challenges.
https://alkem.io
European Union Public License 1.2
15 stars 6 forks source link

VC - invite display & accept #6467

Closed bobbykolev closed 1 week ago

bobbykolev commented 1 week ago

https://github.com/alkem-io/client-web/issues/6417

You can use the following mutation to send invite, just add existing communityId and VC contributor ID:


mutation inviteContributorsToCommunity($contributorIds: [UUID!]!, $communityId: UUID!, $message: String) {
  inviteContributorsForCommunityMembership(invitationData: {
    invitedContributors: $contributorIds
    communityID: $communityId
    welcomeMessage: $message
  }) {
    id
  }
}

{
  "communityId": "",
  "contributorIds": [""],
  "message": "Custom message."
}