Headless Drupal with JSON:API

Drupal can serve content to any front end through its core JSON:API and REST modules. This guide covers the decisions, build sequence, effort drivers and checks that decide whether the setup holds up in production.

On this page

When a headless Drupal build makes sense and what makes it harder than it looks

A headless Drupal build makes sense when one team needs a single content back end that feeds a website, a mobile app, a kiosk or partner channels, and each channel needs its own front end. Drupal can serve that role through the core JSON:API module, which exposes content entities as JSON over HTTP, and the core REST module, which covers endpoints JSON:API does not. Both ship with Drupal core, so there is no separate license or module to buy. The harder work sits around the API, not in switching it on. The project is mostly content modeling, access control, caching and editorial preview, and Drupal's own theme layer stops being the presentation layer. Your front-end team will own rendering, routing and much of the user experience, so decisions about fields, references and permissions made in Drupal now shape what every channel can display.

Start by confirming module behavior for your Drupal version before any design work. Endpoint paths, filter and include syntax, authentication options and how JSON:API handles entity access can differ between releases, and the official Drupal.org documentation for the version you run is the reference to check against. Note the current major version and its PHP requirement at the same time, since the platform you pick now will carry the site for years. Ask your team to write down which channels need which content, and whether any of them need content that is not public. Those answers decide how much of the access model must be designed up front.

Plan for the parts that generate most of the rework. Anonymous access is usually limited to published content, so preview for editors needs an authenticated path, a decision about how unpublished revisions are exposed, and a test that a logged-out request cannot reach drafts. Caching must account for per-user access and for cache tags so that an edit in Drupal invalidates the right responses at the CDN and the front end. Content structure should be designed for consumers rather than copied from page layouts, and fields such as images, menus and redirects need an explicit contract. Ask your partner for a written list of endpoints, permissions and cache rules before the front end is built.

Which API style, auth method and starting point to choose

This table compares the API options, rendering models and starting points for a headless Drupal build, with the operational cost of each. Read each row against your front-end team's skills and your upgrade capacity, then confirm module status on the project pages before committing.

OptionWhen it fitsOperational costConfirm before deciding
Core JSON:APIFront end consumes resource-oriented endpoints and the team wants standard, spec-based responses from coreClients follow resource paths and includes; complex aggregated screens may need several requests; core upgrades carry the API surfaceCurrent core JSON:API docs and the entity types you need to expose
Core RESTExisting integrations or simple endpoints that predate your JSON:API designCustom endpoint shapes and more client-side mapping; each resource type needs deliberate configuration and testingWhich REST resources your core version exposes and their authentication options
Contributed GraphQL moduleFront-end teams need precise field selection in one request or work heavily with nested contentExtra schema to maintain, a contributed dependency to monitor and extra caching work for query variationProject page compatibility with your Drupal version and its security coverage
Fully decoupled renderingMultiple channels or a separate front-end team owns presentation and release cyclesPreview, routing, redirects and SEO metadata move to the front end; more deployment pieces to monitorHow your front-end framework handles preview and rendered metadata
Hybrid renderingDrupal still renders some pages with Twig while selected components come from the APITwo rendering paths to maintain and test; theme and API changes must stay in stepWhich pages stay in Twig and how caching is split between them
Drupal core as starting pointYou need full control over content types, modules and the codebase, and have developers to maintain itCustom work and contributed module choices are yours to maintain across each major versionModule readiness for the Drupal version you plan to run
Drupal CMS as starting pointContent teams want recipes and site templates and the build is close to the distribution's defaultsIts recipes and defaults become part of your upgrade path; custom API needs may still require bespoke codeWhich recipes and AI features are included in your chosen Drupal CMS release

How a page request, an editor login and a preview travel through the stack

A visitor's page request starts at the front end, which asks a CDN or cache before calling Drupal's JSON:API. Only anonymous, cacheable reads should reach the public zone, so the cache key and the Drupal permissions for the anonymous role decide what leaks. An editor signs in through the identity provider over SAML or OpenID Connect, and Drupal's admin and preview run in a separate zone with their own session. Check that preview requests never enter the public cache and that Drupal's database and file storage sit behind the application tier.

Request, login and preview paths across the public, API and admin trust zones.

How to build the headless setup in sequence

This sequence takes a Drupal site from a finalized content model to a decoupled back end that serves only the content and fields each consumer should see, with a front end connected, cached and deployable through configuration export. Each step closes with a check you can repeat before moving on.

  1. Finalize the content model and entity names

    Before installing anything, the content team and the front-end developers agree on content types, fields, reference relationships and the machine names that will appear in API URLs and JSON payloads. Renaming a field after the front end is built breaks requests and mappings, so names are fixed here. Output: a written content model with machine names, reviewed by both the editorial owner and the front-end lead. Check: every planned endpoint maps to one content type, and no consumer needs a field that is missing from the model.

  2. Install Drupal on a supported PHP version

    The platform team installs Drupal core on a PHP version the chosen Drupal release supports, on a web server and database from the supported list. Drupal 11 requires PHP 8.3 or later, and Drupal 10 requires PHP 8.1 or later, so confirm the version against the PHP requirements page before provisioning. Output: a working site on a non-production host with Composer-managed dependencies. Check: the status report shows no errors for PHP, the database or the file system, and the site loads over HTTPS.

  3. Enable and configure the JSON:API or REST module

    The developer enables the JSON:API module (or REST, where a specific need requires it) and confirms the base path and format settings that the front end will call. Both modules are part of Drupal core, so no contributed code is added at this stage. Output: a documented API base URL and a list of enabled resource types. Check: a GET request to the collection endpoint for one content type returns a valid JSON:API document with the expected fields.

  4. Set resource exposure and field-level access

    Using Drupal's permission system, the developer grants anonymous and authenticated roles only the content types, fields and operations each consumer needs. Unpublished nodes, draft revisions and internal reference fields are checked explicitly, because a field can be hidden in the UI while still appearing in an API response. Output: a permissions matrix per role, reviewed by the security owner. Check: an unauthenticated request returns only published content, and a field restricted to editors stays absent from the anonymous response.

  5. Configure authentication for editors and front-end clients

    The team separates two access paths: editors authenticate through the Drupal login (or an SSO integration chosen separately), and the front end authenticates as a machine client with a limited role, using a method the security team has approved. Credentials for the client are stored outside the codebase and rotated under a documented process. Output: one role for the build service and a written description of which methods each caller uses. Check: the client role can read only the approved endpoints, and a write request with that credential is refused.

  6. Set cache headers and cache tags

    The developer confirms that Drupal's internal page and dynamic page caches are active and that JSON:API responses carry cache tags and contexts, so updates invalidate the right responses. A reverse proxy or CDN is configured only after the origin headers are verified, since an incorrect cache rule can serve one user's data to another. Output: a short caching policy listing which routes are cacheable and for how long. Check: after editing a node, the next API response reflects the change, and a response for an authenticated user is not served to an anonymous request.

  7. Connect the front-end framework and build preview

    The front-end team points its data layer at the API, builds the page templates and sets up a preview path that lets editors see unpublished drafts through an authenticated request. Preview is treated as a separate access path with its own permissions, not an exception to the public rules. Output: a running front end reading from the staging back end, plus a preview link that works for an editor. Check: a draft visible only to the editor renders in preview and does not appear on the public build.

  8. Wire configuration export and deployment

    The team commits Drupal's configuration to version control with the Configuration Management system, adds Composer and Drush steps to the deployment pipeline and confirms that content and configuration move between environments in a repeatable order. Output: a pipeline that deploys code, imports configuration and runs database updates on staging, followed by a documented production runbook. Check: a change made in a staging export produces the same API behavior after import in a fresh environment, and the pipeline fails when an exported configuration does not match the code.

How content modeling for an API differs from page building

In a headless build, the content model is the contract with every consumer. A page builder mindset asks what a page looks like, but an API mindset asks what each piece of content is, which fields it carries and which other content it references. Once a web app, mobile app or partner integration starts reading the API, renaming a field or changing a bundle's meaning breaks those consumers, so field machine names, entity bundles, references and translation structure should be agreed and documented before the front end is built. Confirm how your chosen Drupal version exposes entity types, bundles and fields through JSON:API, including how it names resources and handles translated fields, because those details become the public shape of your API.

Model components and references, not rendered layouts. A hero, a card or a promotional banner should be represented as content with its own fields, such as a headline, a summary and a referenced media item, and the front end decides how to draw it. Avoid fields like a single body field stuffed with markup that assumes a layout, and avoid one bundle per page template. Plan which relationships are required, which are optional and how deep consumers will need to follow them, since every extra level of includes adds payload and query cost. Ask the front-end team to list the screens they need and check that each one can be assembled from the proposed bundles without parsing HTML.

Plan previews and changes before launch. Editors often need to see unpublished revisions in the front end, which means the front end must be able to request draft or latest revision data through an authenticated path rather than the public endpoints. Decide who can read unpublished content, how preview URLs are generated and whether the content revision model supports the workflow you need. Field changes also propagate to every client, so define a process for adding fields without removing old ones, deprecating names with a notice period and testing consumer builds against a staging Drupal instance. Confirm the exact revision and preview behavior with the Drupal version and any contributed modules you plan to use, because these details differ by release.

What drives the effort and cost of a headless Drupal build

This table lists the factors that change the effort of a headless Drupal build with JSON:API, what each one does to the work, and how to keep it contained. Use it to shape the written scope before asking for a quote, since no fee figures are given here and costs follow from that scope.

DriverWhy it changes effortHow to keep it down
Content types and reference depthEach content type adds a JSON:API resource, fields, and relationships to test. Deep reference chains multiply the number of related entities a client may request.Model only the types clients render. Flatten references where possible and document the relationships each endpoint returns.
Number of front-end clients and channelsEach web app, mobile app, or kiosk needs its own response shapes, preview behavior, and test coverage. Channels that differ in content needs multiply the work.Agree on one shared content model and a small set of channels for the first release. Add channels later through a separate scope.
Authentication for editors and clientsEditors need SSO into the Drupal admin, while front ends need credentials that fit their hosting model. Two auth paths mean two sets of roles, tokens, and failure cases.Standardize on one client auth method for public and private reads. Map editor roles from the identity provider using the SSO scope rather than building custom logic.
Preview requirementsEditors who expect to see unpublished content in the real front end need preview URLs, token handling, and draft-aware responses in each client.Limit preview to the channels that editors use. Confirm with the front-end team whether a preview route is needed on day one.
Integrations with external systemsSearch, commerce, CRM, or translation services each need field mapping, error handling, and monitoring on both the Drupal and client side.Keep the first release to the integrations that block launch. Defer secondary feeds and document their future interfaces.
Number of environmentsEach environment needs its own configuration, secrets, client endpoints, and deployment steps. Configuration sync and CI pipelines scale with the count.Agree on a fixed set of environments and promote changes through configuration management rather than manual edits.
Caching and traffic expectationsPublic read traffic on JSON:API needs cache tags, reverse proxy or CDN rules, and load testing. Higher expected traffic means more tuning and a larger test window.Confirm expected peak read volume with the business early. Cache public, anonymous responses and keep authenticated responses out of shared caches.
Compliance evidence needsAssessors may expect access logs, role reviews, data flow diagrams, and documented API exposure. Each evidence item is extra work to produce and keep current.Ask which controls the assessment covers before the build starts. Restrict exposed resources to what is needed, and confirm the evidence list in the written scope.

How the setup changes by deployment model

A single-node setup runs Drupal, the database and usually the web server on one virtual machine or container host. The headless design still applies: the front end calls the JSON:API endpoints over HTTPS, and Drupal answers with JSON. Because there is one PHP process pool and one local file system, the API, the cache and the session store all sit on the same machine, which keeps the moving parts small.

  • API exposure: Expose only the JSON:API paths the front end needs behind the web server, and restrict the rest with server rules. Confirm which base path your version uses.
  • Cache invalidation: Drupal's internal cache tags purge on content save without extra infrastructure. Any reverse proxy or CDN in front still needs its own purge rule.
  • Session handling: Sessions are stored in the database by default, so a single node needs no shared session store. Authenticated front-end calls typically use tokens rather than Drupal cookies.
  • Deployment: Deploy by pulling a release, running configuration import and database updates in a maintenance window. Downtime is brief but real, so schedule it.
  • Recovery: A single node has no failover. Backups of the database and the file directory are the recovery path, so test a restore.

Check with your platform team that the single node has capacity for both API traffic and any scheduled imports, and confirm the backup restore time against your availability targets.

Which access and secrets controls protect the API

A decoupled Drupal site exposes its content model over HTTP, so every resource, filter and write method is part of the attack surface. The controls below work together: they decide what anonymous visitors can read, what authenticated clients can change, which browsers may call the API, and how credentials are stored and audited.

Anonymous read limited to published content

Anonymous users should receive only published nodes and the fields the front end needs. Confirm that the anonymous role has the JSON:API view permissions you intend and no administrative or unpublished access. Test with an unauthenticated request for drafts, unpublished revisions and content hidden by access control, because a missing permission often only shows up as a leaked draft after launch.

SAML module docs

Permission and field-level access review

Each exposed resource type needs a review of its entity permissions and of every field that JSON:API serializes. Sensitive fields such as internal notes, personal data or moderation metadata should be excluded or restricted by role before the endpoint goes live. Repeat the review whenever a content type or field is added, since new fields are exposed by default in many configurations.

Token-based authentication for writes

Write operations should never rely on anonymous access or shared passwords. Decide which token scheme your clients use, such as OAuth-style bearer tokens issued by your identity provider, and map each client to a dedicated Drupal account with the smallest role that works. Ask your team to confirm current authentication options against the contributed auth module documentation before committing to a design.

OpenID Connect module

CORS and allowed origins

Browser front ends call the API from their own domains, so the Drupal site must allow only the origins that serve your application. Configure the allowed origins explicitly in the services configuration rather than accepting every origin. Test preflight requests from unlisted domains, and retest after each front-end domain change, including staging and preview hostnames.

Preview and admin endpoints

Preview links, editorial endpoints and the admin interface should sit behind authentication and, where possible, a separate hostname or network path from the public API. Confirm that preview tokens expire, that they cannot be reused across content items, and that the Drupal admin routes are not reachable from the public internet. Treat each preview integration as its own access path in your review.

Secrets for credentials and identity settings

OAuth client secrets, identity provider settings and API credentials should be stored outside the exported configuration and outside version control, typically in environment variables or a secrets manager. Check that configuration sync does not export client secrets, and rotate any credential that has appeared in a repository or log. Record who can read and rotate each secret.

Logging of write requests

Every create, update and delete request through the API should be attributable to a named client account and recorded in a log your security team can review. Confirm that the Drupal logging setup captures write activity for these accounts and that logs are forwarded off the web server. Pair this with a periodic review of security advisories for the auth modules you run.

Security Team advisories

What to monitor, back up, upgrade and document after launch

What should we monitor on a headless Drupal JSON:API site after launch?

Track API error rates, response latency and cache hit behavior, and watch them per endpoint rather than only at the site level. A rising 4xx rate often points to a client sending wrong filters or expired tokens, while a rising 5xx rate usually points to PHP, database or cache problems on the Drupal side. Latency should be measured at the edge or load balancer as well as in Drupal, so you can separate network delay from slow queries. Cache hit behavior matters because a drop in hits after a deployment or a content model change can push load back onto the database. Ask your team to confirm which metrics your hosting platform exposes and which ones need an extra module or agent. Set alerts on sustained changes, not single spikes, and review the numbers after every release.

How should we back up the database and file storage for Drupal?

Back up the database and the file storage together, and include the exported configuration in the same recovery set. Configuration lives in the code base and in exported YAML files, so a database restore without the matching configuration can leave the site in an inconsistent state. Confirm how often your environment takes snapshots, where copies are stored, and whether restores have been tested on a separate environment. Encrypt backups and restrict who can read them, because the database holds user accounts, tokens and content that may be sensitive. Record the restore steps in the runbook and time a restore at least once before launch, so the recovery time is known rather than assumed.

When does Drupal publish bugfix and security releases?

Drupal publishes bugfix releases on the first Wednesday of each month and security releases on the third Wednesday, according to the Drupal core release schedule. Plan a standing review on those dates so that bugfix work and security patches reach staging on a predictable cadence. Security advisories from the Drupal Security Team are published with CVE identifiers and risk scores, and they cover core and contributed projects, so your dependency checks should include contributed modules and the JSON:API and authentication modules your API relies on. Treat a security release as a deployment with a rollback plan, and verify that the API contract still behaves as documented after the update. Ask your partner or internal team who owns this window and who approves production changes.

When does Drupal 10 reach end of life and what does moving to Drupal 11 require?

Drupal 10 reaches end of life on December 9, 2026, according to the Drupal core release schedule, and Drupal 11 is the current major version. Drupal 11 requires PHP 8.3 or later, according to the Drupal.org PHP requirements page, so the PHP runtime and the hosting image must be upgraded before or during the move. Check deprecated API usage in custom modules, confirm that every contributed module used by the API has a Drupal 11 compatible release, and test authentication and caching behavior in a staging copy. Drupal 12 is scheduled for the week of December 7, 2026 and requires PHP 8.5 or later, so the upgrade path should be planned with that in mind. Ask for a written estimate that separates custom code work, contributed module work and infrastructure changes.

How do we keep the API documentation and content model contract current?

Keep the content model contract in version control next to the Drupal configuration, and generate or review the API documentation whenever a content type, field, view or endpoint changes. Front-end teams depend on field names, machine names, relationship structure, filter parameters and the access rules that govern each resource, so a silent rename can break a client without any Drupal error. Assign an owner for the contract and make it part of the review checklist for every configuration change. Record which fields are public, which are restricted to authenticated clients and which are used by specific front-end consumers. Ask your team to confirm where the contract is published and who receives notice of breaking changes.

How should we record auth client registrations and rotation schedules?

Keep a register of every OAuth or OpenID Connect client, consumer and service account that calls the API, with its owner, purpose, granted scopes, redirect URIs and expiry or rotation date. Include the front-end applications, server-side integrations and any external identity provider configuration used through the OpenID Connect module or the SAML Authentication module. Rotate client secrets and signing keys on a schedule your security team sets, and test the rotation in staging before production. Remove clients that no longer have an owner, and review role mapping whenever identity provider attributes change. Store secrets in a managed secret store rather than in configuration files, and confirm with your security team how rotation events are logged and reviewed.

Who owns post-launch operations for a headless Drupal site?

Post-launch operations are usually split between an internal platform or operations team, the front-end team and, if you use one, an implementation partner under a support retainer. The internal team typically owns hosting, backups, monitoring and on-call response, while the front-end team owns client code and its use of the API. Whoever owns the Drupal code base should own the release calendar, the contributed module inventory and the content model contract. Write the split down before launch, because gaps appear most often at the boundary between API changes and client changes. Ask any partner which parts of this list their retainer covers and which remain with your team.

What does it cost to run a headless Drupal site after launch?

Running costs come from hosting, monitoring tools, backup storage, security release testing, contributed module maintenance and the people who operate the site, and none of them is a Drupal license fee because Drupal is licensed under GPL-2.0-or-later. Drupal itself has no paid edition, so budget for the recurring effort of monthly bugfix reviews, security release windows, major version moves and PHP upgrades. The main cost drivers are the number of contributed modules, the number of API consumers, how often the content model changes and how much custom code depends on Drupal internals. Ask for a quote that lists each recurring activity, who performs it and how often it is expected to occur, and that separates one-time migration work from recurring support.

How to test that the API works and fails safely

Testing a headless Drupal API comes down to five layers, and each one answers a different question. Contract tests check that responses from the JSON:API endpoints match the content model you documented: bundle names, field machine names, field types, entity reference structure and the relationships the front end depends on. Run them against a non-production site built from the same exported configuration, so a renamed field fails a build instead of a page. Permission tests come next. Request each endpoint as anonymous, as an authenticated user with a limited role and as an editor, then confirm that unpublished nodes, restricted fields and private media never appear. Check the JSON:API access settings and the role permissions for each bundle, because a field can be hidden in the UI yet still be exposed by the API.

Cache tests verify that a publish or edit invalidates the responses that include the changed entity. Pick one article, fetch a list view and its detail response, edit a related term or image, then confirm the next request returns the new value. Drupal's cache tags drive this, so test the listing endpoints that aggregate content as well as single items, and check any external cache or CDN layer your team placed in front of Drupal. Preview tests cover unpublished content. Confirm that the preview path your editors use either sends a short-lived, authenticated request or points to a separate preview front end, and that a preview token cannot be used to read drafts from the public API. Ask your team to confirm the exact preview mechanism it uses, since it depends on the front-end framework and the modules chosen.

Failure tests show what happens when Drupal is down, slow or returns an error. Stop the Drupal origin in a staging environment, then load each front-end route and check that it renders a controlled fallback, such as a cached static build or a clear message, instead of a blank page or a raw stack trace. Test timeouts and malformed responses too, and confirm the front end does not expose Drupal error bodies to visitors. Record evidence for every check: the test case ID, the Drupal and module versions, the commit of the front end, the request and response samples with credentials removed, the role used, the cache headers observed before and after an edit, and screenshots of fallback states. Keep these records with the release so auditors and your own security team can see that the API was tested, not assumed to work.

What buyers and engineers ask before building headless Drupal

Can our team build a headless Drupal back end without outside help?

Yes, if the team already runs Drupal and has people who can model content, write or review custom code, and operate a PHP web application. A headless build adds work that a traditional Drupal site does not have: exposing content through JSON:API, setting access rules for anonymous and authenticated consumers, handling preview and cache invalidation for a separate front end, and deploying two applications that must agree on content shapes. Plan for skills in Drupal site building, PHP, Composer, HTTP caching and the chosen front-end framework. Teams new to Drupal usually get the most value from a short review of their content model and access design before the first build sprint, whether they do the work in-house or with a partner.

What drives the cost and duration of a headless Drupal project?

The main drivers are the number of content types and their relationships, how many front-end consumers read the API, the complexity of authentication and roles, how many integrations push or pull content, and whether preview, translations or editorial workflows must work across both systems. Each of these adds design, build and test effort. Ongoing costs include hosting for the Drupal back end and front end, PHP and major version upgrades, contributed module maintenance and security monitoring. Ask any provider for a written scope listing these items, the assumptions behind them and what is excluded. DeployOpen works from a written scope and does not publish a price list, so a quote follows from the agreed scope.

What do we need to provide before a headless Drupal build starts?

The build needs decisions and access from your side as much as technical work. Typical inputs include named content owners who can approve the content model, a list of consuming applications and their data needs, the identity provider details if users sign in through SAML or OpenID Connect (entity IDs, redirect URIs, attribute names and test accounts), and access to the target cloud accounts, data centers or air-gapped networks where the platform will run. Teams should also provide sample content, existing data exports for migration, and a named person who can accept tests and sign off releases. Missing any of these usually moves the schedule, so confirm them during scoping.

Should we use JSON:API or REST as the default for a headless Drupal API?

For most new headless projects, start with JSON:API. Drupal core includes the JSON:API module, which follows a published specification for resource structure, filtering, sorting, sparse fieldsets and relationships, so front-end developers spend less time inventing response formats. The core REST module exposes entities in a more customizable way and suits cases where a consumer needs a shape JSON:API does not produce, or where an existing integration already depends on REST. Whichever you choose, lock down permissions, limit fields exposed to anonymous users, and test caching headers with the actual front end. Mixing both in one project should be a deliberate decision with a documented reason.

Can Drupal CMS be the starting point for a headless build?

Drupal CMS can be a reasonable starting point when the team wants recipes, site templates and optional AI tools already packaged, and when the site will be run mostly by marketers and content teams. It is a distribution built on Drupal core, and its visual page builder, Drupal Canvas, is aimed at composing pages inside Drupal. A headless architecture often moves page composition to the front end, so teams should check whether Canvas output and the default content structures fit their API design before adopting them. Bare Drupal core gives more control over the content model and API surface. Evaluate both against the content model and confirm which recipes and modules the team will maintain.

What changes for a headless Drupal site when Drupal 10 reaches end of life?

According to the Drupal core release schedule, Drupal 10 reaches end of life on December 9, 2026, and Drupal 11 is the current major version. After that date, Drupal 10 sites stop receiving security releases, so they should move to Drupal 11 before then. Drupal 10 requires PHP 8.1 or later and Drupal 11 requires PHP 8.3 or later, so the hosting image and PHP runtime may need upgrading too. For a headless site, also check the JSON:API responses, custom API code, authentication modules such as the SAML Authentication module, and the front end's dependency on any changed response fields. Test the upgrade against a copy of production, and confirm contributed module support for Drupal 11 with each maintainer.

How do we secure the Drupal API that the front end reads?

Start by deciding which content is public, which requires a logged-in user, and which should never leave Drupal. In Drupal, these rules are set through roles and permissions, and JSON:API and REST access must be reviewed separately from the admin interface. Keep the front end's read access on a dedicated role with only the fields it needs, and use short-lived tokens for any write or preview path. Monitor Drupal Security Team advisories, which are published with CVE identifiers and risk scores and released in Wednesday security windows, and apply them on a set schedule. Confirm with your security team how API traffic is logged and rate limited, because those controls usually sit outside Drupal.

How DeployOpen scopes, builds, hands over and supports headless Drupal

DeployOpen plans and implements self-hosted Drupal inside the client's own cloud accounts, data centers or air-gapped networks. For a headless build, we agree the content model, the JSON:API exposure, the authentication approach and the front-end handoff in writing before work starts, then document and hand over the result so your team can run it.

How we scope

  • Written scope lists the content types, entities and fields exposed through JSON:API and what stays private.
  • Scope names the front-end framework, rendering approach and the consuming applications the API must serve.
  • Scope defines authentication for editors, API consumers and any SSO or identity provider integration.

How we build

  • We model content for API consumption, with stable machine names, entity references and clear field types.
  • We configure JSON:API resource access, roles and permissions so each consumer reads only what its scope allows.
  • We test cache metadata, CORS settings and response contracts against the agreed front-end requirements before release.

How we hand over

  • Deliverables include the content model, API endpoint inventory, permission matrix and authentication configuration.
  • Configuration is exported to version control so changes move between environments through a documented pipeline.
  • Runbooks cover deployment, cache clearing, credential rotation and how to add a new consumer safely.

How we support

  • Ongoing support is available as a retainer covering Drupal release windows, contributed module compatibility and API regression checks.
  • Security reviews of exposed endpoints and access rules can run on a recurring schedule under the retainer.
  • Confirm with DeployOpen during quoting which environments, response times and upgrade work the retainer includes.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.