G2 review prompt (GraphQL)

Related queries and mutations in Integrations and connections. Each has its own section.

Queries

getG2ReviewPrompt (query)

getG2ReviewPrompt is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

G2 review prompt state for the calling user. Returns whether the user has already reviewed and, if not, a one-time URL to the pre-filled G2 review form.

Returns

G2ReviewPrompt

Example

query GetG2ReviewPrompt {
  getG2ReviewPrompt {
    reviewExists
    reviewUrl
  }
}

Types used only by getG2ReviewPrompt

G2ReviewPrompt

Object type. Per-user state for the G2 Review Prompts integration.

FieldTypeDescription
reviewExistsBoolean!True if G2 reports the calling user has already submitted a review for our product, or if the integration is unavailable. The frontend should suppress the prompt when this is true.
reviewUrlStringPre-authenticated G2 review form URL (valid 24 h). Null when review_exists is true or G2 is unavailable.

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.