Nucleus OS Docs

    createSupportRequest

    Opens a support ticket with the Nucleus OS team. Public (works without a session) and rate limited to 5 requests per minute per IP.

    Mutation · POST /graphql

    Signature

    type Mutation {
      createSupportRequest(
        email: String!
        message: String!
        name: String!
        subject: String!
        userId: String
      ): SupportRequestApiResponse!
    }

    Arguments

    NameTypeRequiredDescription
    emailString!YesAddress the support team should reply to.
    messageString!YesFull description of the question or problem.
    nameString!YesName of the person asking for help.
    subjectString!YesShort summary of the request.
    userIdStringNoOptional ID of the signed-in user, so the team can find the account.

    Returns

    SupportRequestApiResponse!

    Response envelope for createSupportRequest. data holds the created ticket.

    Example request

    mutation CreateSupportRequest($email: String!, $message: String!, $name: String!, $subject: String!) {
      createSupportRequest(email: $email, message: $message, name: $name, subject: $subject) {
        cause
        data {
          _id
          createdAt
          email
          message
          name
          status
          subject
          updatedAt
          userId
        }
        error
        message
        status
        statusCode
        subscriptionRoute
      }
    }
    curl -X POST https://<api-host>/graphql \
      -H 'Content-Type: application/json' \
      -d '{"query":"mutation CreateSupportRequest($email: String!, $message: String!, $name: String!, $subject: String!) { createSupportRequest(email: $email, message: $message, name: $name, subject: $subject) { cause data { _id createdAt email message name status subject updatedAt userId } error message status statusCode subscriptionRoute } }","variables":{"email":"jane@example.com","message":"Hi! How do I connect Okta to our workspace?","name":"Jane Doe","subject":"Question about SSO setup"}}'

    On this page