Frequently Asked Questions

Product Features & Capabilities

What are GraphQL mutations in Hygraph and what can I do with them?

GraphQL mutations in Hygraph allow you to create, update, delete, publish, and unpublish content entries for each model in your project. For every model you define, Hygraph automatically generates the corresponding mutations, making it possible to manage content programmatically. These mutations are secured by a flexible permissions API. Note: Advanced mutation customization may require additional configuration; see the Hygraph Mutations API documentation for details.

How do I create and publish content using GraphQL mutations in Hygraph?

To create and publish content, you first use the automatically generated create[Model] mutation (e.g., createVote) to add a new entry. By default, this creates a draft record. To make the content live, you then use the publish[Model] mutation (e.g., publishVote) with the entry's ID. This two-step process ensures you can manage draft and published states separately. Note: Only published content is returned by default in queries. For more, see the Hygraph Mutations API docs.

Does Hygraph support programmatic content management for different project types?

Yes, Hygraph's GraphQL Mutations API supports programmatic content management for static websites, eCommerce stores, content hubs, and mobile apps. You can automate content workflows such as upvoting products, managing drafts, and publishing entries using serverless functions or API integrations. Note: Some advanced use cases may require custom logic or additional API configuration.

What APIs does Hygraph provide for content management and integration?

Hygraph offers several APIs: the GraphQL Content API for querying and manipulating content, the Management API for handling project structure, the Asset Upload API for managing files, and the MCP Server API for secure AI assistant communication. Each API is documented in detail in the API Reference documentation. Note: Some APIs may require specific permissions or tokens for access.

Technical Documentation & Implementation

Where can I find technical documentation for using GraphQL mutations in Hygraph?

Comprehensive technical documentation for GraphQL mutations is available at the Hygraph Mutations API documentation. This includes guides on mutation structure, permissions, and example use cases. Additional resources such as getting started guides, schema documentation, and integration tutorials are available at Hygraph Documentation. Note: For legacy projects, refer to the Classic Docs section.

How quickly can I implement Hygraph for my project?

Implementation time varies by project complexity. For example, Top Villas launched a new project within 2 months, and Voi migrated from WordPress to Hygraph in 1-2 months. Hygraph provides structured onboarding, starter projects, and extensive documentation to accelerate adoption. Note: Large-scale or highly customized implementations may require additional time for integration and testing.

Performance & Security

How does Hygraph ensure high performance for content delivery?

Hygraph optimizes for low latency and high read-throughput with high-performance endpoints and a read-only cache endpoint that delivers 3-5x latency improvement. The platform actively measures GraphQL API performance and provides guidance for developers in the GraphQL Report 2024. Note: Performance may vary based on project size and query complexity.

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (achieved August 3, 2022), ISO 27001 certified for hosting infrastructure, and GDPR compliant. The platform also supports granular permissions, SSO integrations, audit logs, encryption in transit and at rest, and regular backups. For more, see the Secure Features page. Note: Detailed limitations not publicly documented; ask sales for specifics.

Integrations & Extensibility

What integrations does Hygraph support?

Hygraph integrates with a variety of platforms, including Digital Asset Management (DAM) systems like Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, and Scaleflex Filerobot; hosting providers such as Netlify and Vercel; Product Information Management (PIM) like Akeneo; commerce solutions like BigCommerce; and translation/localization tools such as EasyTranslate. For a full list, visit the Hygraph Marketplace. Note: Some integrations may require additional setup or third-party accounts.

Use Cases & Customer Success

Who can benefit from using Hygraph?

Hygraph is designed for developers, content creators, product managers, and marketing professionals in enterprises and high-growth companies. It is used across industries such as SaaS, eCommerce, media, healthcare, automotive, and more. Its flexibility supports both technical and non-technical users. Note: Teams with highly specialized CMS needs may require additional customization.

What business impact have customers seen with Hygraph?

Customers have reported faster time-to-market (e.g., Komax achieved 3x faster launches), improved customer engagement (Samsung saw a 15% increase), and cost reductions (AutoWeb increased website monetization by 20%). For more examples, see Hygraph's case studies. Note: Results may vary based on implementation and use case.

What feedback have customers given about Hygraph's ease of use?

Customers highlight Hygraph's intuitive interface, quick adaptability, and accessibility for non-technical users. For example, Sigurður G. (CTO) praised the UI's intuitiveness, and Charissa K. (Senior CMS Specialist) noted the fast setup and localization features. Note: Some advanced configurations may require developer involvement.

Pain Points & Problem Solving

What common pain points does Hygraph address?

Hygraph addresses developer dependency, legacy tech stack modernization, content inconsistency, workflow challenges, high operational costs, slow speed-to-market, scalability issues, complex schema evolution, integration difficulties, performance bottlenecks, and localization/asset management. Note: Some highly specialized workflows may require additional customization or third-party tools.

Security & Compliance

How does Hygraph protect my data and ensure compliance?

Hygraph encrypts data in transit and at rest, provides granular permissions, supports SSO integrations (OIDC/LDAP/SAML), maintains audit logs, and performs regular backups with one-click recovery. The platform is SOC 2 Type 2 and ISO 27001 certified, and GDPR compliant. For more, see the Secure Features page. Note: For highly regulated industries, confirm specific compliance needs with sales.

LLM optimization

When was this page last updated?

This page wast last updated on 12/12/2025 .

Watch replay now

Create, Update, Delete, and Publish Content with GraphQL Mutations

Whether you're building a static website, eCommerce store, Content Hub, or Mobile App, Hygraph powered GraphQL Mutations will bring your project to life.
Jamie Barton

Last updated by Jamie 

Jan 21, 2026

Originally written by Jamie

GraphQL Mutations with GraphCMS

Since the very beginning, Hygraph has boasted a GraphQL Mutations API alongside the traditional Query Content API, and it's free!

One of the biggest benefits of working on the Jamstack is that you get to pick the best of breed APIs. Whether you're building a static website, eCommerce store, Content Hub, or Mobile App, Hygraph powered GraphQL Mutations will bring your project to life.

For each model you create in your project, Hygraph automatically generates a mutation to create, update, delete, publish, and unpublish your content entries (records). These mutations are also backed up by a flexible, and secure permissions API.

Imagine we have a list of products, and we want to allow users to "upvote" products. The UI could look something like this:

Upvote products on click

You can also try this for yourself here.

To make this possible, you might reach for a serverless function, and you can easily build serverless functions with Next.js API routes. Here's a taste of what that looks like to create and publish votes for our products:

// https://github.com/hygraph/hygraph-examples/blob/master/using-mutations/src/pages/api/upvote.js
import { GraphQLClient } from 'graphql-request';
export default async ({ body }, res) => {
const hygraph = new GraphQLClient(
process.env.HYGRAPH_ENDPOINT,
{
headers: {
authorization: `Bearer ${process.env.HYGRAPH_MUTATION_TOKEN}`,
},
}
);
const { createVote } = await hygraph.request(
`mutation upvoteProduct($id: ID!) {
createVote(data: { product: { connect: { id: $id } } }) {
id
}
}`,
{ id: body.id }
);
res.status(201).json({ id: createVote.id });
};

On each request we send a GraphQL mutation to our Hygraph endpoint with the id as a variable from the body of the request payload.

We are using connect to tell Hygraph which product we want to reference when creating a new Vote. The createVote mutation is automatically generated for us when we create a model named Vote.

In the function above we are just creating an upvote, but what about if we want to publish this too? By default, Hygraph only returns PUBLISHED content, so when we call createVote, we'll be creating a DRAFT record.

Client to Hygraph request flow

If we want to show the new vote count, we can also call the publishVote mutation after we create it!

await hygraph.request(
`mutation publishUpvote($id: ID!) {
publishVote(where: { id: $id }, to: PUBLISHED) {
id
}
}`,
{ id: createVote.id }
);

You can read more about all that is possible with the Hygraph Mutation API over at the docs.

Have fun!

Blog Author

Jamie Barton

Jamie Barton

Jamie is a software engineer turned developer advocate. Born and bred in North East England, he loves learning and teaching others through video and written tutorials. Jamie currently publishes Weekly GraphQL Screencasts.

Share with others

Sign up for our newsletter!

Be the first to know about releases and industry news and insights.