Contentstack is an API-first headless CMS that separates your content backend from the frontend, giving developers complete flexibility in delivering content across various channels.
You can fetch content using a variety of APIs and tools, depending on your application’s structure and requirements—whether you’re building a dynamic web app, mobile application, or syncing content to a local environment.
Contentstack offers multiple read-only APIs that let you fetch content in various formats. These APIs support use cases from real-time content delivery to local synchronization and image transformation.
Use the Content Delivery API to retrieve live, published content from your stack and deliver it to your digital properties.
The GraphQL Content Delivery API lets you fetch precise, structured content from multiple types using a single query.
Use the Synchronization API to keep your local app data in sync with Contentstack by fetching only the latest updates.
Manipulate and deliver images stored in your Contentstack stack using the Image Delivery API.
The Content Management API gives you complete control over managing the content of your Contentstack account.
To simplify integration, Contentstack offers SDKs across multiple languages and platforms to simplify content retrieval and management within your development environment.
Each SDK includes API references, sample apps, and installation guides for quick setup.
Available SDKs:
In addition to APIs and SDKs, Contentstack provides other tools to help automate workflows and enable advanced integrations.
Webhooks let you send real-time notifications to custom endpoints when specific events occur in Contentstack.
Use for triggering deployments, alerts, or syncing changes with external systems (e.g., Slack, Jenkins, Netlify).
DataSync helps you sync published content from your stack to local backends like MongoDB or file systems.
Selecting the right method for retrieving content depends on your application’s architecture, data requirements, and delivery goals. The table below summarizes the recommended tools based on common use cases:
| Use Case | Recommended Tool |
| Fetch published content for websites or apps | Content Delivery API or SDKs |
| Retrieve nested or related content in a single request | GraphQL Delivery API |
| Synchronize content with a local database or server | Synchronization API or DataSync |
| Perform administrative content operations (CRUD actions) | Content Management API |