How Strapi Draft & Publish keeps staging edits separate from live content
Draft & Publish is a free Strapi feature that separates draft edits from published entries, and you turn it on per content type. For editors and platform owners, this means a change made on staging can sit in a draft state while the live API keeps serving the last published version. Teams usually need this when content must be checked on a staging instance before it reaches the public API, when several editors touch the same types, or when a bad edit would be visible to customers the moment it is saved. A single-state model is enough when one trusted editor makes small changes directly on the live instance, or when the content is internal and nothing reads it through the API until it is ready. Confirm during planning which content types need the two states, because the setting is applied type by type rather than across the whole project.
Draft & Publish is a separate control from the Enterprise review workflow and from the Growth and Enterprise releases. Draft & Publish only answers the question of whether an entry is a draft or published. Review workflows add approval stages and role-based permissions for moving content between them, and releases group several entries and schedule them together. Check the self-hosted plan terms before you design around those features, because review workflows are an Enterprise feature and releases start at Growth. This page covers configuration and planning for Draft & Publish on a self-hosted project, not a comparison of Strapi products. Before you enable it on a production schema, have the team write down which content types change in staging, who may publish them, and how the live API should behave while a draft waits.
Draft & Publish options and when each fits
This table compares enabling Draft & Publish on a content type with leaving it single-state, and shows how draft and published status values change what editors and API consumers see. Read each row against your staging workflow to decide which content types need a separate draft and which can be edited live.
| Option | Effect on editors | Effect on API consumers | Fit |
|---|---|---|---|
| Draft & Publish enabled | Editors save a draft and publish it separately, and the live version stays unchanged until they publish | Requests with status set to published return only the live version, and status set to draft returns the unpublished version | Content reviewed before going live, such as landing pages, pricing or legal text |
| Draft & Publish disabled | Each save changes the single live entry immediately with no separate draft | Requests return the one current version, with no status choice to make | Reference data, settings or internal lists where a delayed publish adds no value |
| Status set to draft | Not applicable to editors directly, but preview tools request this value | Returns the unpublished version of a document, which may differ from what the public sees | Preview routes and staging front ends that must show unpublished changes |
| Status set to published | Not applicable to editors directly | Returns only published content, the value public front ends should default to | Production front ends and any consumer that must never show unpublished content |
| Drafts and published versions as separate records | Editors may see both a draft and a published copy of the same document | Each version is addressed through the same document, so queries must state which status they need | Teams that compare drafts with live content before approving changes |
| Feature availability | Included in the free Community Edition, with no plan upgrade needed for this feature | Same API behavior on every plan | Projects that need Draft & Publish without paying for higher plans |
| Combined with review workflows or releases | Review stages and scheduled batches operate on drafts, so plan which content type needs them | Consumers still read the status they request, so approval state does not change the query | Editorial teams that need approval before publishing, which requires confirming the plan for review workflows |
How to enable and verify Draft & Publish in a staging project
This sequence turns Draft & Publish on for the content types that need a draft state in a staging project, sets read permissions for both draft and published data, and confirms that editors, the API and front-end code all behave as expected before the setting reaches production.
Inventory content types that need a draft state
Before changing anything, list every collection and single type in the staging project and mark which ones editors will edit before readers see them, such as articles, landing pages or product descriptions. Record the decision in the content model document and note which types are internal lookups that can stay published immediately. The output is a short list agreed by the content lead and the developer who owns the schema. Confirm the list against your content model before moving on, because enabling the setting on a type later changes how its entries behave in the API.
Enable Draft & Publish on each marked type
In the Content-type Builder, open each marked type, go to its settings and turn on Draft & Publish. Save the change and let the project restart if the admin panel asks for it. Because the feature is free and set per content type, types you leave off keep a single record per entry. The output is a staging project where each marked type shows the draft and published states in the Content Manager. Confirm the exact menu labels in the Strapi version you run, since wording can change between releases.
Set public permissions for draft and published reads
Under the Users & Permissions settings for the Public role, and for any authenticated role used by the front end, review the find and findOne actions on each draft-enabled type. Grant read access to the published state that readers need, and grant draft reads only to roles that preview content, such as a preview token or an authenticated editor role. Keep draft access away from anonymous visitors. The output is a permission matrix you can show to the reviewer. Verify the saved settings by reloading the page, because a permission that looks checked may not have saved.
Confirm Save and Publish actions in the admin panel
Sign in to the admin panel as an editor, open an entry of a draft-enabled type and check that the editing view offers Save and Publish actions. Edit a published entry, save the change and confirm the entry shows a draft state that differs from the live version. Then publish it and confirm the live version updates. The output is a tested editor path with a noted screenshot or record of each state. If the buttons are missing, check the editor's role permissions for the content type before assuming the feature is off.
Query the REST API with status draft and published
Using the staging API token or a test request, call the REST endpoint for a draft-enabled collection with status=draft, then again with status=published, using an entry whose draft has changed. Compare the two responses and confirm that the draft returns the edited content while the published request returns the last published content. The output is a recorded pair of responses that shows the two states differ. Repeat the check on one entry that has no unpublished changes to confirm both calls return the same content.
Check front-end code no longer uses publicationState
Search the front-end repository and any preview or build scripts for publicationState, publicationState=live and publicationState=preview. Replace each occurrence with the status parameter, using draft or published, and confirm that the preview route still loads unpublished content for an authorized editor. The output is a search result with no remaining publicationState references and a passing preview check. Strapi 5 replaces the older parameter, so a leftover reference can return unexpected results without raising an obvious error.
Record the staging result before promoting
Write down which types were enabled, which roles can read drafts, the API checks that passed and any gaps found, then attach the record to the change request. Share it with the content owner and the developer who will repeat the same steps in production. The output is a signed-off staging record that defines the exact configuration to reproduce, so production does not depend on memory. Include the Strapi version and any issues you could not resolve, since they affect the promotion decision.
Replacing publicationState with status in Strapi 5 code
In Strapi 5, the publicationState parameter is removed and replaced by status, which accepts draft and published in place of live and preview. The change touches every place your code asks Strapi for a specific version of an entry. In REST, that means query strings such as ?status=draft on collection and single-type requests. In GraphQL, it means the arguments you pass to queries that previously used publicationState. In custom code, it means any Document Service call that reads or writes a version, along with the front-end preview routes that decide which version to fetch. The breaking change is documented in the publicationState removed page, which lists the mapping you need to apply.
Start with a codebase search for publicationState across the Strapi project and every front-end, script, webhook handler and scheduled job that calls the API. Treat each hit as a decision: confirm whether the old value preview should become draft, and whether live should become published. Check the less obvious consumers too, such as generated API clients, environment-specific configuration and documentation snippets that editors or partners copy from. A silent mismatch can return published content where drafts were expected, or the reverse, and neither failure raises an error.
Then run a test pass against each consumer on a staging instance that holds both drafts and published versions of the same entries. Confirm that preview pages show unpublished edits, that public pages show only published content, and that GraphQL and REST responses match what the consumer expects. Keep the test set in version control so it runs again after each Strapi 5 minor upgrade. Confirm the exact behavior of your installed version against the breaking change page before you rely on it, because the parameter set can change between releases.
How Draft & Publish combines with releases and review workflows
Draft & Publish creates the draft and published states that other editorial features act on. Releases, review workflows, the save-versus-publish distinction and localization each touch those states in different ways, so they need to be planned together before editors start working in a shared staging instance.
Releases batch drafts for scheduled publishing
A release groups draft entries across content types and locales so they publish together at a set date and time. Draft content in the release stays unpublished until the scheduled moment, which suits launches that depend on several linked entries. Releases start at the Growth plan, so check the plan before editors plan coordinated batches. Confirm in your version whether an entry can sit in more than one release and what happens when a draft changes after it is added.
Self-hosted plansReview workflows add a required stage
Review workflows place stages between draft and publish, and a stage can be made required so that content cannot reach the published state without passing through it. Role permissions decide who may move an entry into or out of each stage. Review workflows are an Enterprise feature in the self-hosted plans, so teams on Growth need a different approval process. Confirm which roles can publish from the final stage in your installed version.
Saving a draft is not publishing
Saving updates the draft version of a document, which editors and reviewers can see in the admin panel and through draft requests to the API. Publishing copies that draft into the published version that public API requests return. Teams often assume a saved change is live, so the first editorial training should show the two states side by side. Confirm which requests return draft content in your front end before relying on it for preview.
Draft & Publish docsLocalized entries have separate states
With internationalization enabled, each locale of a document has its own draft and published state, so publishing the English version does not publish the French one. Releases and review stages must account for every locale that a launch covers, or a page can go live with some translations missing. Ask the team to define which locales block a release, and test a multilingual entry through the status parameter before go-live.
Shared staging needs role boundaries
When releases and review stages both run on one staging instance, the same editor may be able to create a draft, add it to a release and publish it. Separation of duties depends on the role model you configure, not on the features alone. Map each role to the actions it may take at each stage and test the result with a non-admin account. Confirm the exact permission options for your version and plan.
Compare plan featuresHow an entry moves from draft to published on staging and live
An editor saves changes in the Strapi admin panel, which writes a draft version of the entry alongside the live version. If the content type uses a review stage (an Enterprise feature), the draft must pass that stage before publishing. The publish action creates or updates the published version, which the live API serves by default. Staging and preview clients request status=draft to read unpublished changes, so check that each client sends the right status value.
Draft and published versions are stored separately and read by different clients.
Access and operational risks to review before go-live
Draft & Publish keeps unpublished content in the same database as live content, so the risks sit in ordinary Strapi settings: who can read drafts, who can publish, what the audit trail keeps, and what your backups hold. Each card below is something your team can verify in its own project before staging content is exposed to reviewers or systems.
Public permissions that expose drafts
Public role permissions on a content type decide which API calls anonymous visitors can make. If a find or findOne permission is granted publicly on a type with Draft & Publish enabled, a request that asks for draft status can return unpublished records. Check each content type's public permissions and test the API with no token and with the status parameter set to draft. Review the public permission settings in the security configuration group before go-live.
Draft & Publish docsAdmin roles that can publish
Publishing is a separate right from editing. Admin roles that can publish can move a draft to live content without a second reviewer unless a review stage blocks it, and that right is often granted to whole roles by default. List every admin role, confirm which content types it can publish, and test it with a non-administrator account. On the Enterprise plan, Review Workflows can add a required approval stage, but only if the roles are set up to require it.
Audit trail limits by plan
Audit logs record admin actions such as publishing and editing, and they are an Enterprise feature in Strapi's self-hosted plans. On the Growth plan, you do not get an audit log, so you need another record of who published what. Confirm the plan you run, the default retention period, and whether your compliance team needs the log exported to a separate system for longer keeping.
- Default audit retention
- 90 days
Backup coverage of draft records
Drafts and published versions are stored as separate records in the database, so a backup taken of the database includes both. Content History is a separate, shorter record of earlier versions, and it is not a substitute for a backup. Confirm your backup job captures the full database at a frequency that suits your editorial cycle, and run a test restore to a separate instance to check that draft records come back intact.
Draft data crossing environments
Moving content from staging to production can copy draft records along with published ones, depending on the transfer method you use. Check what your data transfer or export process includes, whether draft status is preserved, and whether a transfer overwrites existing content on the target. Limit transfer tokens to the operations that are needed, and remove them after use.
Questions teams ask before enabling Draft & Publish
Does Draft & Publish cost extra in Strapi?
No. Draft & Publish is a free Strapi feature, so enabling it does not change your license or plan cost. It separates drafts from live entries and is switched on per content type. The cost questions that matter sit elsewhere: the hosting plan you choose, the time your team spends on content model changes, and the front-end work needed to fetch drafts safely. Confirm your plan needs separately, because features that sit beside Draft & Publish, such as Releases and Review Workflows, are gated by plan. The Strapi self-hosted pricing page lists which plan includes each feature.
How long does it take to enable Draft & Publish?
The switch itself is small, but the effort depends on how much of your system reads content. The main drivers are the number of content types you enable, whether custom front-end code assumes every entry is live, and how many API consumers query Strapi directly. Each consumer must request the right status, so a site, a mobile app, a search index and a webhook listener may each need a change. Ask any partner for a written scope that lists every content type, consumer and environment, because that list determines the schedule more than the toggle does.
What does the team need to provide before the work starts?
Prepare three inputs. First, a content model that lists each content type, its fields and its relations, so the team can decide which types need drafts. Second, a clear statement of preview needs, including which front ends must show unpublished content and whether editors need side-by-side review. Third, a role matrix that names who can create, edit, and publish each type. Without these, the build tends to stall on decisions about visibility rules. Bring API consumer owners into the discussion early, since their code must handle the status parameter.
Can our internal staff enable Draft & Publish without outside help?
Often yes for a small, single-site project. Enabling the feature and testing the editor workflow in a development instance needs general Strapi administration skills. The harder part is auditing every query that reads content, updating front-end fetches to request published or draft versions deliberately, and testing staging against production-like data. Teams with one or two content types and one consumer usually handle this in-house. Teams with many consumers, multiple locales or regulated approval rules often benefit from an external review of the design before changes reach production.
What does migrating from publicationState to status involve?
In Strapi 5, the publicationState parameter is replaced by status, which accepts draft and published instead of live and preview. Every query, filter and script that used the old parameter needs an update in REST, GraphQL and Document Service calls. Start by searching your codebase and front-end repositories for publicationState, then map each old value to its new equivalent and test responses in staging. Read the publicationState removal note before changing code, and confirm the behavior of each consumer against a copy of your data.
Do drafts and published versions live in the same record?
In Strapi 5, a draft and its published version are treated as separate records that share one document. Editors work on the draft, and publishing creates or updates the published version. This matters for queries, because a consumer that requests the wrong status can show stale or unfinished content. It also matters for backups and reporting, since you need to confirm which version your exports and dashboards read. Test these cases explicitly in staging before go-live, including entries that have a draft but no published version.
Does Draft & Publish work with Releases and Review Workflows?
Draft & Publish is the base layer. Releases group drafts for coordinated publishing and Review Workflows add approval stages before publication. Their availability depends on your plan, so check the Strapi self-hosted pricing page before designing an approval chain around them. Decide early whether editors publish directly or through stages, because that choice changes role permissions and who can move content into a live state. Confirm with Strapi how each combination behaves in your version before you rely on it.
Which security checks matter once drafts are exposed to APIs?
The main risk is that unpublished content leaks through a public endpoint. Review the public permissions for each content type and confirm that anonymous users can read only published entries. Check any preview endpoint for authentication, and make sure preview tokens are scoped and rotated. Test that draft content is not cached by a CDN or static build. Finally, review who can change the status behavior in custom controllers, since a small code change can expose drafts broadly.
Official Strapi documentation for Draft & Publish
Start with the Strapi Draft & Publish documentation, which is the primary reference for how the feature separates drafts from live entries and how you enable it per content type. Read it against the exact Strapi version your project runs, because the Strapi 5 line ships minor releases frequently and the documented behavior of admin controls and API parameters can change between them. Before you rely on any setting described there, confirm the version in your package.json and check the matching documentation branch, not the latest page by default.
Then read the publicationState removed page in the Strapi v4 to v5 breaking changes section. It is the reference for the most common migration defect in this area: code and integrations that still send publicationState=live or publicationState=preview return results from the wrong state or fail, while Strapi 5 expects status with the values draft and published. Search your front-end queries, GraphQL clients, scripts and webhook consumers for publicationState before go-live, and confirm with the migration page which values and endpoints each Strapi 5 API accepts.
If you are upgrading from v4, treat these two pages as a checklist to walk with your team rather than a background read. Record which content types use Draft & Publish, which integrations query published content, and which ones need a test against a staging instance. Where the documentation leaves a behavior unclear for your setup, such as how a particular plugin reads drafts, ask Strapi support or test it on a copy of your data before you change production code.
How DeployOpen scopes and delivers Strapi content workflow work
Most engagements are fixed-scope, so the scope document is where the work is defined before any build starts. For Draft & Publish, the scope lists which content types keep draft and published states, which custom code reads or writes entries, and which front-end or integration consumers depend on the current behavior. DeployOpen does not publish a price list. A quote follows from the written scope, so the more precisely the content types, integrations and environments are listed, the more precise the quote can be.
- Content type inventory: the types where Draft & Publish is enabled, and the types where it is not, with the reason for each.
- Custom code audit: every route, controller, script or front-end query that uses
publicationStateor the older Entity Service calls. - Consumer map: which front ends, webhooks and exports read draft or published content, and how.
- Environment list: the development, staging and production instances, and where data moves between them.
- Retainer question: whether ongoing support after handover should be a retainer or handled by your team.
Check that the written scope names every consumer that reads drafts, because those are the systems most likely to break after a status change.
The build phase covers configuration in the Content-type Builder and changes to custom code. Draft & Publish is enabled per content type, so the build sets that flag only where editors need a staged version. Custom code that used publicationState is moved to status, with draft and published as the accepted values. This applies to the REST, GraphQL and Document Service APIs. Where a consumer depends on the older response shape, the migration must keep it working or change it deliberately.
- Per-type configuration: Draft & Publish enabled on the chosen content types and verified in the admin panel.
- Status migration:
publicationStatereferences replaced withstatusin routes, controllers, queries and front-end calls. - Document Service changes: calls updated so that drafts and published versions are read and written as the intended records.
- Release and review hooks: where Releases or Review Workflows are used, their interaction with the status values is designed and tested.
- Access rules: public and authenticated permissions checked so that draft content is not readable by unauthorized roles.
Confirm the exact behavior of each Strapi version you target against the official migration notes before relying on it in code.
Verification on staging is where most status migration issues appear. A staging copy of production content is used to test that editors see drafts in the admin panel, that published queries return only published entries, and that scheduled or bulk operations behave as expected. Because drafts and published versions are separate records, each test should state which record it reads and which it writes. Security checks confirm that draft content is not exposed through public endpoints.
- Editor walkthrough: create, edit, publish and unpublish on each enabled content type.
- API contract tests: requests with
statusset todraftandpublishedcompared with expected results. - Consumer tests: each front end, webhook and export run against staging with draft and published content.
- Permission tests: public and role-based requests confirm that draft entries are not returned to unauthorized users.
- Backup before change: a database backup taken before the migration, since downgrading is not supported.
Ask the partner to show the test evidence for each consumer, not only a summary of passed tests.
Handover turns the built system into something your editors and developers can operate. DeployOpen documents the configuration, the status conventions used in custom code and the test cases that protect them. Editors receive guidance on what Draft & Publish does to their entries. Developers receive the code changes with notes on which calls read which record. Operations receive backup and rollback steps for the staging and production instances.
- Runbook: how to enable Draft & Publish on a new content type and what to check afterward.
- Code notes: the
statusconvention, the affected routes and the tests that cover them. - Editor guide: how drafts, published versions and any Releases or Review Workflows appear in the admin panel.
- Retainer options: ongoing support, upgrades and continuous testing, available as a retainer if you want them.
- Open items: questions that depend on your environment, such as plan features or hosting, listed for your team to confirm.
Before accepting handover, check that the runbook covers your own rollback path and that someone on your team can run the verification tests.

