umbraco-17-graphql-headless-api-arroact

Umbraco 17 GraphQL Package – Build Flexible Headless APIs with Arroact.Umbraco.GraphQL

Umbraco
Are you building a headless website using Umbraco 17 and finding the Delivery API difficult to filter or customize?

When working with Umbraco Headless, developers often need better control over the response structure, property filtering, and payload size. The default Delivery API provides data, but filtering specific properties and managing clean JSON responses can become complex β€” especially for frontend or mobile applications.

To solve this problem, we created a custom package: Arroact.Umbraco.GraphQL

This package allows complete GraphQL assist in Umbraco 17, permitting developers to question most effective the information they need, manipulate reaction shape, and construct lightweight headless packages correctly.

Why Use GraphQL in Umbraco 17?

With this package:

  • You can request only required properties
  • You can filter data directly from the frontend
  • Each property includes its key, datatype, and value
  • The JSON payload remains lightweight
  • Perfect for headless and mobile applications
  • Full control over response structure

This makes it easier to build scalable Umbraco Headless solutions using modern frameworks like Next.js.

Note: This package works only with Umbraco 17 or higher.

How to Install Umbraco 17 GraphQL Package:

Open Umbraco project in Visual Studio Go to: Right Click Project>> Manager NuGet Package>> Browse

Search for:Arroact.Umbraco.GraphQL

Or install directly from NuGet:

https://www.nuget.org/packages/Arroact.Umbraco.GraphQL

You can also find it on the Umbraco Marketplace:

https://marketplace.umbraco.com/package/arroact.umbraco.graphql

Configure GraphQL Endpoint

After installation, configure your API key because GraphQL endpoints use Bearer token authentication.

Add your custom API key in: appsettings.json

appsettingjson

Enable the GraphQL endpoint configuration then Build or rebuild your solution run the project Enable GraphQL Section in Umbraco Backoffice once the project runs successfully:

Login to /Umbraco

Go to Users >> Select User Groups >> Click Administrators

Under Sections, enable Arroact GraphQL

Save changes

umbracosection

If Arroact GraphQL option not appear in top menu, perform a hard refresh or restart the application.

GraphQL IDE in Umbraco 17

After configuration, you will see the Arroact GraphQL menu in the backoffice the built-in IDE allows you to:

Create queries

Test queries

Pass variables

View response time

Generate cURL commands

If API key configuration is missing, you will see a dashboard notification.

ErrorOfAPI

Available GraphQL Endpoints

Currently, the package provides 7 GraphQL endpoints:

Content

Returns all content in JSON format You can select specific fields like id,key,contentType,level,children,properties(Each property includes Key, DataType, and Value).

contentById

Returns a single content item by ID including all properties and related data.

contentByUrl

Returns a single content by URL If the Content does not exist by url, it returns null

media

Returns all media items with properties, size, and URL.

mediaById

Returns a single media item by ID

mediaByUrl

Returns a media item by URL.

blockGridById

Returns Block Grid data by passing Page ID and Property Alias

This makes it easier to build dynamic headless page rendering.

IDE Sections Overview

Inside the GraphQL IDE, you will see 4 main sections

IDE

Query

Create and test GraphQL queries by selecting endpoints and fields.

IDE Query

Variables

Pass dynamic variables to filter or customize your data.

IDE Variables

cURL

Generate equipped-to-use cURL commands for testing in Postman or other API equipment.

IDE Curl

Settings

Manage:GraphQL endpoint, HTTP headers and Bearer token

IDE Settings

Response Panel

The Response section displays: JSON output and Execution time This helps developers test and optimize queries efficiently.

IDE Response

What’s Coming Next?

We are currently working on Umbraco Forms GraphQL endpoint A headless starter kit built with Next.js Extended filtering and advanced querying options The Next.js Starter Kit will soon be available on GitHub. Do you need help or want to contribute? We welcome feedback and improvements.

Do you need help or want to contribute? We welcome feedback and improvements. If you have Questions, Suggestions, Issues and Feature requests

If you come across troubles the usage of the package or have recommendations for upgrades, please sense free to create an trouble on GitHub. We often evaluate comments and make updates based on realistic implementation experience.

Closing Note

When building headless solutions in Umbraco 17, having better control over the data layer makes a big difference. This GraphQL package was created to give that extra flexibility where the standard Delivery API may not be enough.

Written by
Keyur Garala Author

Keyur Garala

CTO, Arroact Technologies

I'm Keyur Garala, and I have spent years working on technology that solves real problems and helps businesses move forward with confidence. 

I work with large businesses on digital solutions built on Sitecore, Adobe Experience Manager (AEM), Umbraco, Strapi, and Snowflake, systems that do not just solve today's problems but hold up as the business grows and changes. 

AI is central to how I think about building. At Arroact, we do not treat it as a feature, we treat it as a foundation.  
I focus on applying it in ways that are practical, purposeful, and genuinely valuable to the businesses we work with. 

At the end of the day, my job is to make sure the technology we work on is something teams can rely on, scale with, and build their future around. 

Related Blogs blue-line-vector-3

How Umbraco's MCP Server Makes Your CMS AI-Powered
16 April 26 β€’ 10 min read
Umbraco
How Umbraco's MCP Server Makes Your CMS AI-Powered
If you have been paying attention to what's going on with AI tools you probably know that …
Read More
How Umbraco Cloud Keeps Your Website Fast, Secure, and Scalable
06 April 26 β€’ 13 min read
Umbraco
How Umbraco Cloud Keeps Your Website Fast, Secure, and Scalable
Most digital teams do not want to think about hosting they want to build things publish co…
Read More
Illustration showing common Umbraco development anti-patterns that cause performance issues
11 February 26 β€’ 20 min read
Umbraco
Common Umbraco Anti-Patterns That Slowly Kill Performance
Performance problems in Umbraco projects rarely appear overnight. Most teams do not deploy…
Read More