Prompt
What should I use for a CMS with REST or GraphQL APIs and editorial previews?
Latest observation
Oct 20, 2026
OpenAI APIWeb search: off
If you want a CMS that exposes REST or GraphQL APIs and supports editorial previews, the best fit is usually a headless CMS.
Good options
- Strapi — self-hosted, open source, supports REST and GraphQL, has preview workflows with setup.
- Contentful — managed SaaS, strong editorial preview support, REST and GraphQL APIs.
- Sanity — very strong preview/draft experience, flexible content modeling, GROQ API plus GraphQL add-on.
- Directus — self-hosted or managed, REST and GraphQL, good for database-driven content.
- DatoCMS — managed, easy preview support, REST and GraphQL.
Best choice by priority
- Best editorial preview experience: Sanity or Contentful
- Best open-source/self-hosted: Strapi or Directus
- Best if you want quick setup with less ops: Contentful or DatoCMS
What to look for
Make sure the CMS supports:
- Draft/published content states
- Preview tokens or preview endpoints
- Webhook support for rebuilds or cache invalidation
- Role-based permissions
- GraphQL/REST API availability
- Field-level localization if you need multi-language support
Simple recommendation
If you want the safest general recommendation:
- Contentful if you want a polished SaaS with easy previews
- Strapi if you want open source and control
- Sanity if editorial previews and live editing are especially important
If you tell me whether you want self-hosted vs SaaS, and what frontend you’re using (Next.js, Nuxt, Remix, etc.), I can recommend the best specific stack.