Skip to main content

createGroupInvitation

Invite a user to a group by email address.

Sends an email invitation to the specified address. If the user already has a Massdriver account, the invitation appears in their pending invites (see the viewer query). If they don't have an account yet, they'll be prompted to sign up when they accept.

Requires organization_admin permissions.

createGroupInvitation(
organizationId: ID!
groupId: ID!
email: String!
): GroupInvitationPayload

Arguments

createGroupInvitation.organizationId ● ID! non-null scalar {#organization-id}

Your organization's unique identifier.

createGroupInvitation.groupId ● ID! non-null scalar {#group-id}

The group to invite the user to.

createGroupInvitation.email ● String! non-null scalar {#email}

Email address of the user to invite.

Type

GroupInvitationPayload object