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: "user@tribe.so", name: "User"}) {
id
status
}
}

This will email "user@tribe.so" 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: "user@tribe.so", name: "User"},
{email: "user2@tribe.so"},
{email: "user3@tribe.so"},
]}) {
id
status
}
}