Qualio Docs

API Documentation from the Qualio Team

SendInvitation

Allows sending invitation to a user. Required permission: userInvitation (for API user, can be checked using me query)

Example usage:

mutation sendInvitation {
  sendInvitation(email:"email", role: basic) {
    errors {
      __typename
    }
    user {
      id
      inviteStatus
    }
   }
}

where

⚫ email is email address of invited user.

⚫ fullName is user full name (optional).

⚫ role is one of Qualio user roles: basic,normal,quality

Returns user data. It is the same record which can be pulled from users query.

Note: this action will trigger sending email to given email address. New user will appear with invite status (inviteStatus) as pending. You can trigger this action again if you want to resend invitation. It would fail once user has already accepted invitation.

Fields

errors ([AnyMutationError])

Mutation errors. Provides information about missing content or privilages

user (User)

Invited user