Craft CMS GraphQL API

Auto-generated GraphQL API providing schema-based access to Craft CMS content including entries, assets, categories, tags, and custom fields. Access is controlled via bearer token authentication tied to named schemas configured in the control panel, with a public schema available for unauthenticated access when enabled.

Documentation

API entry from apis.yml

apis.yml Raw ↑
aid: craft-cms:graphql-api
name: Craft CMS GraphQL API
description: Auto-generated GraphQL API providing schema-based access to Craft CMS content including entries,
  assets, categories, tags, and custom fields. Access is controlled via bearer token authentication tied
  to named schemas configured in the control panel, with a public schema available for unauthenticated
  access when enabled.
humanURL: https://craftcms.com/docs/5.x/development/graphql.html
baseURL: https://example.craftcms.com/actions/graphql/api
tags:
- GraphQL
- Content
- Headless
- CMS
properties:
- type: Documentation
  url: https://craftcms.com/docs/5.x/development/graphql.html