Resend invitation

resendProjectInvitation(projectReference: ID!, invitationId: ID!): ProjectInvitationResult!

Requires project.invites.manage.

Arguments

ArgumentTypeRequiredDescription
projectReferenceID!YesProject UUID or slug.
invitationIdID!YesPending invitation whose persisted metadata remains unchanged while notification is retried. An inaccessible or other-project invitation is not_found.

Response

Returns ProjectInvitationResult!. Open the type for its fields and nested types.

FieldTypeDescription
outcomeProjectInvitationOutcome!
invitationProjectInvitationThe pending invitation; null when outcome is member_added.
userIdIDThe added user; set only when outcome is member_added.
emailSentBoolean!Whether the email service accepted the notification send; false is a result, not an error.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
mutation ResendProjectInvitation($projectReference: ID!, $invitationId: ID!) {
  resendProjectInvitation(projectReference: $projectReference, invitationId: $invitationId) {
    emailSent
    outcome
    userId
  }
}
json
{
  "projectReference": "00000000-0000-4000-8000-000000000001",
  "invitationId": "00000000-0000-4000-8000-000000000001"
}