Prompt
How do I expose the same content to a website and mobile app from one CMS?
Latest observation
Oct 20, 2026
OpenAI APIWeb search: off
To expose the same content to both a website and a mobile app from one CMS, the usual approach is to make the CMS act as a headless CMS and deliver content through an API.
Recommended setup
1. Store content once in the CMS
Create your content models in one CMS:
- Articles
- Pages
- Products
- Authors
- Media assets
Keep the content structured so both web and mobile can reuse it.
2. Use the CMS as a content API
Instead of the CMS rendering pages directly, it should expose content via:
- REST API
- GraphQL API
- Webhooks for updates
Your website and mobile app then both fetch content from that API.
3. Build separate front ends
Create two clients:
- Website frontend: React, Next.js, Vue, etc.
- Mobile app: Swift/Kotlin, React Native, Flutter, etc.
Both consume the same CMS content, but each presents it in a way that fits its platform.
Typical architecture
CMS → API → Web app
CMS → API → Mobile app
Example:
- Editor updates an article in the CMS
- CMS publishes via API
- Website and app retrieve the same article content
- Each client formats it for its own UI
Key benefits
- One source of truth for content
- Consistent content across channels
- Easier editorial workflow
- Independent design for web and mobile
- Content can be reused for future channels too
Things to plan for
- Content modeling: make content flexible enough for both platforms
- Rich text formatting: mobile and web may render it differently
- Images: use responsive image variants
- Localization: if you need multiple languages, model that early
- Caching: important for performance on both clients
- Auth/permissions: if some content is private
CMS options that support this well
- Contentful
- Strapi
- Sanity
- Prismic
- Drupal headless mode
- WordPress with REST API or GraphQL plugins
Simple rule of thumb
If the CMS is only for editing and storing content, and your web/mobile apps handle presentation, you’ve got the right approach.
If you want, I can also show:
- a reference architecture diagram, or
- a sample API structure for web + mobile.