# Payload

Code\-configured CMS and application backend built into Next\.js with multiple database adapters\.

ID: Q1182 · Revision: 1230

Type: software · License: MIT core; hosting and enterprise service/features have their own terms[^payload-license][^payload-host] · Status: active

Website: https://payloadcms.com/



Payload is a code\-configured content\-management system and application backend running within Next\.js\. It provides REST and GraphQL interfaces as well as a Local API for server\-side operations\. A project can be self\-hosted, but deployment includes the database, persistent uploads and other services the application actually uses\.[^payload-host][^payload-local]

## Deployment and database choices

A Payload configuration defines collections, globals, fields and access rules in application code\. It also controls the admin interface and can generate TypeScript interfaces for the configured content\. This gives developers a way to review content\-model changes alongside the application while editors continue using the admin panel\. The Local API lets server\-side code perform content operations without making a separate HTTP request to its own REST endpoint\.[^payload-config][^payload-local]

Payload supports database adapters rather than requiring a single storage engine, with documentation covering PostgreSQL, MongoDB and SQLite\. The database choice affects schema and migration workflows\. Moving an application between adapters is therefore a data\-model and operations decision, not simply evidence that all underlying database files are interchangeable\.[^payload-database]

The production guide warns that uploads saved on an ephemeral application filesystem can disappear when the host restarts\. Cloud storage adapters provide a way to place files in durable external storage\. A successful application deployment should not be mistaken for a complete plan to retain or back up uploaded media\.[^payload-host]

## Schema and access\-control behavior

Payload provides migration files and commands to evolve databases alongside application changes\. These need to be coordinated with deployment, especially for schemas that require database\-definition changes\. The migration workflow belongs with versioned code and database recovery planning rather than being treated as an export of editorial content\.[^payload-migrate]

Local API access\-control defaults are version\-sensitive\. Published documentation describes operations bypassing checks by default, while the v4 canary source changes optional overrideAccess to false and explicitly identifies the earlier v3 default as true\. Passing the intended user and an explicit access\-control choice avoids assuming that a server\-side operation inherits the caller's permissions automatically\.[^payload-access][^payload-access-v4][^payload-version]

## Source and operational responsibility

The core repository uses MIT licensing\. That permits operating and adapting the software under the license conditions, but does not supply a managed database, storage service or deployment operator\. The production guide separately identifies those infrastructure requirements, so the cost and responsibility of self\-hosting remain part of the comparison\.[^payload-license][^payload-host]

## Substitution assessment

Payload can substitute for a rebuilt [Strapi](/strapi) content backend when a code\-configured Next\.js application and the available adapters fit\. Its Local API can keep server\-side application work within the same runtime\. Strapi archives do not establish direct import into Payload; schemas, authorization and stored media need a deliberate migration\.[^payload-local][^payload-database][^strapi-builder][^strapi-export]

Payload can substitute for [Directus](/directus) when the goal is a content backend whose schema and behavior are developed with a Next\.js application\. Its typed configuration and Local API are useful for integrating content with custom server\-side logic\. Directus instead presents a Studio and API layer around SQL data, with Flows for automation\. Moving between them requires translating the data model, permissions and automation; selecting a PostgreSQL adapter does not make Payload a drop\-in interface for a Directus database\.[^payload-config][^payload-local][^payload-host][^payload-database][^directus-overview]

Payload can also substitute for [Contentful](/contentful) for a rebuilt structured\-content workflow when the team wants code\-defined behavior and control of its deployment\. Contentful's entries, references, assets and rich\-text structures need mappings into Payload's chosen fields and relationships, followed by changes to the frontend queries\. Self\-hosting provides control but also leaves database, durable media storage and application operations to the project\. This comparison covers content management and delivery, not automatic parity with every managed editorial service\.[^payload-config][^payload-host][^contentful-model]

## Capabilities and substitutions

### Local API permission defaults — limited

Defaults differ between v3 documentation and v4 canary; explicit user context and access\-control options matter\.[^payload-access][^payload-access-v4][^payload-version]

Use case: Server\-side authorization · Platforms: Web\-based editor and content APIs, Deployment depends on edition and runtime · Region: Hosting region, license tier and organizational requirements apply

### Persistent uploads — limited

Ephemeral app filesystems require external durable storage for retained uploads\.[^payload-host]

Use case: Production media storage · Platforms: Web\-based editor and content APIs, Deployment depends on edition and runtime · Region: Hosting region, license tier and organizational requirements apply

### [Substitute for Strapi](/strapi) — limited

Can replace a rebuilt CMS where Next\.js integration and chosen database fit; schema/media migration is not direct archive import\.[^payload-local][^payload-database][^strapi-builder][^strapi-export]

Use case: Code\-configured headless CMS backend · Platforms: Web\-based editor and content APIs, Deployment depends on edition and runtime · Region: Hosting region, license tier and organizational requirements apply

### [Substitute for Directus](/directus) — limited

Can replace a rebuilt content backend where typed configuration and Next\.js\-local server operations fit\. SQL adapter support does not make an existing Directus database interchangeable; permissions, automations and models require translation\.[^payload-local][^payload-database][^payload-config][^directus-overview]

Use case: Code\-configured content backend · Platforms: Web · Region: Unspecified

### [Substitute for Contentful](/contentful) — limited

An option for code\-defined content behavior and control of deployment\. Map entries, rich text, references and media, then rebuild frontend queries and operational services rather than assuming a direct import or full managed\-service parity\.[^payload-host][^payload-config][^contentful-model]

Use case: Structured content editing and delivery · Platforms: Web · Region: Unspecified

## References

[^payload-license]: [Payload license](<https://github.com/payloadcms/payload/blob/main/LICENSE.md>) — MIT (vendor; retrieved 2026-10-07T00:09:52Z)

[^payload-host]: [Payload production deployment](<https://payloadcms.com/docs/production/deployment>) — NextJS runtime and database; cloud storage for nonpersistent disk (vendor; retrieved 2026-10-07T00:09:52Z)

[^payload-local]: [Payload Local API](<https://payloadcms.com/docs/local-api/overview>) — Server\-side Node operations equivalent RESTGraphQL (vendor; retrieved 2026-10-07T00:11:01Z)

[^payload-database]: [Payload database adapters](<https://payloadcms.com/docs/database/overview>) — PostgreSQL MongoDB SQLite adapters (vendor; retrieved 2026-10-07T00:09:52Z)

[^payload-migrate]: [Payload migrations](<https://payloadcms.com/docs/database/migrations>) — Schema migration versus content; developmentpush versus production (vendor; retrieved 2026-10-07T00:09:52Z)

[^payload-access]: [Payload Local API access](<https://payloadcms.com/docs/local-api/access-control>) — Current permission defaults; distinguish legacy guidance (vendor; retrieved 2026-10-07T00:11:01Z)

[^payload-access-v4]: [Payload v4 access\-control source](<https://github.com/payloadcms/payload/blob/main/docs/local-api/access-control.mdx>) — v4 canary changes optional overrideAccess defaultfalse; explicitly saysv3true (vendor; retrieved 2026-10-07T00:11:20Z)

[^payload-version]: [Payload main package version](<https://github.com/payloadcms/payload/blob/main/packages/payload/package.json>) — 4\.0\.0\-canary\.37 readOct7; do notlabel stablev4 (vendor; retrieved 2026-10-07T00:11:20Z)

[^strapi-builder]: [Strapi Content\-type Builder](<https://docs.strapi.io/cms/features/content-type-builder>) — Contentmodel authoring versus runtime editing (vendor; retrieved 2026-10-07T00:11:20Z)

[^strapi-export]: [Strapi data export](<https://docs.strapi.io/cms/features/data-management/export>) — Encrypted compressed default; contentrelationslocalassetsconfigschema; adminusers/APItokensexcluded;5\.42directorynew (vendor; retrieved 2026-10-07T00:10:40Z)

[^payload-config]: [Payload configuration](<https://payloadcms.com/docs/configuration/overview>) — Code\-configured collections, globals, fields, access and generated TypeScript types (vendor; retrieved 2026-10-09T04:34:00Z)

[^directus-overview]: [Directus documentation](<https://directus.com/docs/>) — SQL\-backed Studio, APIs, permissions and Flows (vendor; retrieved 2026-10-09T04:34:00Z)

[^contentful-model]: [Contentful data model](<https://www.contentful.com/developers/docs/concepts/data-model/>) — Content types, spaces, references, rich text and assets (vendor; retrieved 2026-10-09T04:34:00Z)

Source revision: https://substitutefor.net/entities/Q1182?revision=1230
