Skip to content

The open alternative to Salesforce, designed for AI.

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

export const SIGN_UP_IN_WORKSPACE = gql`
  mutation SignUpInWorkspace(
    $email: String!
    $password: String!
    $workspaceInviteHash: String
    $workspacePersonalInviteToken: String = null
    $captchaToken: String
    $workspaceId: UUID
    $locale: String
    $verifyEmailRedirectPath: String
  ) {
    signUpInWorkspace(
      email: $email
      password: $password
      workspaceInviteHash: $workspaceInviteHash
      workspacePersonalInviteToken: $workspacePersonalInviteToken
      captchaToken: $captchaToken
      workspaceId: $workspaceId
      locale: $locale
      verifyEmailRedirectPath: $verifyEmailRedirectPath
    ) {
      loginToken {
        ...AuthTokenFragment
      }
      workspace {
        id
        workspaceUrls {
          subdomainUrl
          customUrl
        }
      }
    }
  }
`;