inviteToProject
Invites someone by email to a role on one project, without space membership, and sends them an invite email. When the email belongs to exactly one contact on the project's roster with no linked account, the invite links that contact instead (as inviteProjectContact does) and the returned invite is of kind CONTACT_LINK. The invite is valid for 7 days and can be accepted once with acceptInvite. Requires the project management access, and the role may not give more than you hold. A role that edits any area uses an editor seat of the space's plan.
Arguments
emailString!Email address to invite.
projectIdID!ID of the project.
roleProjectRoleId!The project role to give.
Returns
InviteToSpaceOutput!Example
mutation InviteToProject($email: String!, $projectId: ID!, $role: ProjectRoleId!) {
inviteToProject(email: $email, projectId: $projectId, role: $role) {
emailSent
}
}