Skip to main content

Invite Members

inviteMembers mutation is used to invite new members to your community. It takes InviteMembersInput as an input. Members are invited by getting an invitation email. You need to provide the invitees email addresses. You can optionally provide their name to have more personalized email including their name.

mutation {
inviteMembers(input: { invitees: { email: "[email protected]", name: "User" } }) {
id
status
}
}

This will email "[email protected]" an invitation to sign up to your community.

Bulk Invite

You can pass an array to invitees to bulk invite members.

mutation {
inviteMembers(input: {invitees: [
{email: "[email protected]", name: "User"},
{email: "[email protected]"},
{email: "[email protected]"},
]}) {
id
status
}
}