Invite User to Group

Send an invite to a user to a group.

 mutation (
	$groupId: ID!
	$invitedUserId: ID!
	$role: GroupRoleType!
  ) {
	createGroupUserMemberInvite (
  	groupId: $groupId
  	invitedUserId: $invitedUserId
  	role: $role
	) {
  	id
  	status
  	role
  	insertedAt
  	respondedAt
  	updatedAt
  	group {
    	id
  	}
  	user {
    	id
  	}
  	invitedUser {
    	id
  	}
	}
  }

Last updated

Was this helpful?