Storyblok GraphQL API
The Storyblok GraphQL API is a read-only content delivery endpoint that exposes published and draft content from a Storyblok space. It provides a strongly typed, automatically documented interface that mirrors the REST Content Delivery API v2. For each content type (component) defined in a Storyblok space, the GraphQL engine automatically generates two root query fields using the Pascal-cased component name: a singular form (e.g., `PageItem`) that returns one entry by `id`, `uuid`, or `full_slug`, and a plural form (e.g., `PageItems`) that returns a paginated list with filtering and sorting options. Because the schema is dynamically generated from space content types, the exact query fields available depend on the components configured in each Storyblok space.
Overview
Storyblok GraphQL API is a GraphQL API specification published by Storyblok on the APIs.io network.
The Storyblok GraphQL API is a read-only content delivery endpoint that exposes published and draft content from a Storyblok space. It provides a strongly typed, automatically documented interface that mirrors the REST Content Delivery API v2. For each content type (component) defined in a Storyblok space, the GraphQL engine automatically generates two root query fields using the Pascal-cased component name: a singular form (e.g., PageItem) that returns one entry by id, uuid, or full_slug, and a plural form (e.g., PageItems) that returns a paginated list with filtering and sorting options. Because the schema is dynamically generated from space content types, the exact query fields available depend on the components configured in each Storyblok space.
The GraphQL endpoint is available at https://gapi.storyblok.com/v2/api. documentation is published at https://www.storyblok.com/docs/api/graphql.
The specification includes 7 reference links.
Tagged areas include CMS, Content Delivery, Content Management, Headless CMS, and Image Optimization.
Endpoint
References
- EU https://gapi.storyblok.com/v2/api
- US https://gapi-us.storyblok.com/v2/api
- Canada https://gapi-ca.storyblok.com/v2/api
- Australia https://gapi-ap.storyblok.com/v2/api
- China https://gapi.storyblokchina.cn/v2/api
- Documentation https://www.storyblok.com/docs/api/graphql
- GettingStarted https://storyblok.com/docs/api/graphql/getting-started/graphql-playground