Skip to content

The open alternative to Salesforce, designed for AI.

373 B
Raw Blame
import { gql } from '@apollo/client';

export const SEND_INVITATIONS = gql`
  mutation SendInvitations($emails: [String!]!, $roleId: UUID) {
    sendInvitations(emails: $emails, roleId: $roleId) {
      success
      errors
      result {
        ... on WorkspaceInvitation {
          id
          email
          roleId
          expiresAt
        }
      }
    }
  }
`;