---
title: "Wagtail API"
description: "The Wagtail API lets other applications and integrations read, create, edit, and publish your content, with the same permissions and rules as the Admin interface."
last_modified: "2026-11-18"
---
> Documentation Index
> Fetch the complete documentation index at: https://guide.wagtail.org/llms.txt
> Use this file to discover all available pages before exploring further.

Page URL: https://guide.wagtail.org/en/concepts/wagtail-api/

# Wagtail API

## On this page

- [What the API is used for](https://guide.wagtail.org/en/concepts/wagtail-api/#what-the-api-is-used-for)
- [What integrations can do](https://guide.wagtail.org/en/concepts/wagtail-api/#what-integrations-can-do)
  - [Pages](https://guide.wagtail.org/en/concepts/wagtail-api/#pages)
  - [Workflows](https://guide.wagtail.org/en/concepts/wagtail-api/#workflows)
  - [Images and documents](https://guide.wagtail.org/en/concepts/wagtail-api/#images-and-documents)
  - [Snippets](https://guide.wagtail.org/en/concepts/wagtail-api/#snippets)
  - [Redirects, sites, and locales](https://guide.wagtail.org/en/concepts/wagtail-api/#redirects-sites-and-locales)
  - [Rich text](https://guide.wagtail.org/en/concepts/wagtail-api/#rich-text)
  - [Not available yet](https://guide.wagtail.org/en/concepts/wagtail-api/#not-available-yet)
- [Who can do what](https://guide.wagtail.org/en/concepts/wagtail-api/#who-can-do-what)
  - [Anonymous requests](https://guide.wagtail.org/en/concepts/wagtail-api/#anonymous-requests)
  - [Requests made with an API token](https://guide.wagtail.org/en/concepts/wagtail-api/#requests-made-with-an-api-token)
- [Same rules as the Admin interface](https://guide.wagtail.org/en/concepts/wagtail-api/#same-rules-as-the-admin-interface)
- [Things to keep in mind](https://guide.wagtail.org/en/concepts/wagtail-api/#things-to-keep-in-mind)

The Wagtail API lets other applications and integrations work with your site's content without going through the [Admin interface](https://guide.wagtail.org/en/concepts/wagtail-interfaces/). It can read, create, edit, and publish pages, manage images and documents, and take part in moderation workflows, all while following the same permissions and rules as the Admin interface.

Added in Wagtail 8.0

The v3 API is available as a preview. Developers need to enable it when building the site, so it may not be available on your site. This is because Wagtail is highly customizable. If this is the case, contact your web developer for more information.

## What the API is used for

An API (application programming interface) is a structured way for software to talk to Wagtail. Instead of a person clicking through the Admin interface, a program sends requests to read or change content, and Wagtail responds.

Here are some examples of what your organization might use the API for:

- Displaying your content in a separate website or mobile app.
- Importing content in bulk from another system, such as a previous CMS or a product database.
- Making site-wide content improvements, like fixing outdated links or adding missing image descriptions.
- Getting automated feedback on your content, for example from AI tools.
- Building a custom moderation dashboard for reviewers.

The API comes with built-in documentation that your developers can browse to see everything it supports for your site, based on your site's own page types and fields.

![Preview of the Wagtail v3 API documentation showing an OpenAPI schema generated from a site&#x27;s models, with a list of pages endpoints and example request and response](https://guide-media.wagtail.org/images/Wagtail_API_v3_schema_docs_viewer_with_pages_o.width-900.png)

## What integrations can do

The API covers most of the content operations available in the Admin interface. Which content and fields are available depends on how developers configured the API for your site.

### Pages

Integrations can find, read, create, edit, and delete pages. They can read either the live version of a page or its latest draft, and browse a page's revisions. They can also carry out the same page actions you have in the Admin interface:

- Publish and unpublish pages, including all child pages when unpublishing.
- Copy pages, with or without their child pages.
- Move pages to a new location in the page tree.
- Revert a page to a previous revision.
- Create aliases, and convert an alias into a regular page.
- Copy a page into another language, on multilingual sites.

Integrations can filter and search pages, for example to list all child pages of a section, or all pages of one type in a given language.

Added in Wagtail 8.1

### Workflows

Integrations can take part in [moderation workflows](https://guide.wagtail.org/en/how-to-guides/configure-workflows-for-moderation/) for pages and snippets. They can submit content for moderation, approve or reject the current task with a comment, resume a workflow after making changes, and cancel a workflow. They can also read the current status of a workflow and its history.

### Images and documents

Integrations can upload, read, and delete [images](https://guide.wagtail.org/en/how-to-guides/manage-images/) and [documents](https://guide.wagtail.org/en/how-to-guides/manage-documents/), and update their details, such as their title, collection, or an image's focal point.

Keep in mind that integrations can't replace the file of an existing image or document, and can't change their tags.

### Snippets

Integrations can read, create, edit, and delete [snippets](https://guide.wagtail.org/en/how-to-guides/manage-snippets/), for the snippet types that developers made available in the API. When a snippet type supports drafts, revisions, translations, or workflows in the Admin interface, the matching actions are available in the API too.

### Redirects, sites, and locales

Integrations can manage [redirects](https://guide.wagtail.org/en/how-to-guides/manage-redirects/), [sites](https://guide.wagtail.org/en/how-to-guides/manage-sites/), and the languages (locales) available on multilingual sites.

### Rich text

Integrations can read and write rich text either in HTML or in Markdown, a plain-text formatting syntax that's popular with writing tools and AI models.

When an integration saves rich text, Wagtail removes any formatting that isn't enabled for that field, exactly like when you paste content into the editor.

### Not available yet

Some features aren't supported by the API yet:

- Site settings.
- Locking and unlocking pages or snippets. Locks set in the Admin interface still apply.
- Setting or cancelling a publishing schedule. An integration can publish a revision that already has a *go-live at* date set, in which case the page is scheduled rather than published right away.
- Keeping translations in sync after the first copy into another language.

## Who can do what

Requests to the API can either be anonymous or be made on behalf of a user account.

### Anonymous requests

Anyone can read the content that's already public on your site, without any credentials. This includes:

- Live pages, without any [privacy restrictions](https://guide.wagtail.org/en/how-to-guides/manage-pages/).
- Images and documents, except those in collections with a privacy restriction.
- Redirects.

Anonymous requests can't see draft content, and can't make any changes.

Note that only a privacy restriction on a document's own collection hides it from the API. A restriction on a parent collection doesn't hide documents stored in its child collections.

### Requests made with an API token

To do more than read public content, an integration needs an API token. Each token belongs to a user account, and the integration acts as that user. It has exactly the same permissions as the user has in the Admin interface. For example, an integration using the token of an editor who can only edit blog pages can't create pages anywhere else on the site.

With a token, integrations can see the pages the user can edit or publish, including drafts. To learn how to create and revoke tokens, see [Manage API tokens](https://guide.wagtail.org/en/how-to-guides/manage-api-tokens/).

As in the Admin interface, moderators who can approve or reject the current workflow task can read the workflow status of that content while it awaits their review, even if they don't otherwise have permission to edit it.

## Same rules as the Admin interface

Changes made through the API go through the same checks and processes as changes made in the Admin interface:

- Content is validated with the same rules. For example, a page can't use a slug that's already taken by another page under the same parent, and uploaded files must meet the same file type and size limits.
- Every save creates a revision, recorded under the user the token belongs to. You can review and compare these in the [page history](https://guide.wagtail.org/en/how-to-guides/manage-pages/), like any other edit.
- Actions are logged, so you can see them in the [Site history report](https://guide.wagtail.org/en/concepts/reports/).
- Workflow actions send the same notification emails to the same people.
- Publishing content cancels any workflow in progress on it, like in the Admin interface.
- Approving the last task of a workflow publishes the content, so the approver needs permission to publish.

## Things to keep in mind

The API does what it's asked to do, without the confirmation steps you see in the Admin interface. If you're working with developers on an integration, here are some behaviors worth discussing with them:

- **Deleting is permanent.** Deleting a page also deletes all of its child pages, and there's no way to undo it. The same applies to images, documents, and other content.
- **Edits to live pages are saved as drafts unless published.** An integration that edits a live page without publishing it creates a new draft, and the live page stays unchanged until someone publishes it.
- **Reverting creates a draft.** Reverting to a previous revision doesn't publish it. The page needs to be published afterwards for the change to appear on the site.
- **Block-based content is replaced as a whole.** When an integration updates a block-based field (also known as StreamField), or a repeating set of fields such as a list of authors, it replaces the entire field. Any blocks or items it doesn't send are removed.

---

The v3 API replaces the older v2 API, which could only read content. The v2 API is planned for removal in Wagtail 9.0. If your site uses it, your developers will need to update your integrations before then.

Do you want to use the API on your projects? Let us know about your use cases and any other feedback in the [v3 API feedback discussion](https://github.com/wagtail/wagtail/discussions/14531).

For developer documentation, see [Wagtail API v3 in the developer docs](https://docs.wagtail.org/en/latest/advanced_topics/api/v3/index.html).

*Last updated: November 18, 2026*


## Site Map

Here is a list of every page of this guide:

- [Wagtail user guide](https://guide.wagtail.org/en/markdown/): This documentation is written for anyone creating content or managing content production in Wagtail. It covers everything you can expect when using a standard Wagtail site.
    - [Getting started](https://guide.wagtail.org/en/getting-started/markdown/): Here are our step-by-step tutorials to learn Wagtail concepts.
        - [Overview](https://guide.wagtail.org/en/getting-started/overview/markdown/): If you're brand new to Wagtail, we recommend you go through our guides in sequence. Otherwise, you can click through the different categories below to learn more about different aspects of Wagtail.
    - [How-to guides](https://guide.wagtail.org/en/how-to-guides/markdown/): Use our guides to learn how to do a specific task in the CMS.
        - [Find your way around](https://guide.wagtail.org/en/how-to-guides/find-your-way-around/markdown/): This section describes the different pages that you will see as you navigate around the CMS, and how you can find the content that you are looking for.
        - [Manage pages](https://guide.wagtail.org/en/how-to-guides/manage-pages/markdown/): How to create, edit, copy, and manage pages in the Wagtail admin, including block-based editing, comments, privacy, history, and aliases.
        - [Manage documents](https://guide.wagtail.org/en/how-to-guides/manage-documents/markdown/): Documents such as PDFs can be managed from the Documents interface, available in the left-hand menu.
        - [Manage images](https://guide.wagtail.org/en/how-to-guides/manage-images/markdown/): If you want to edit, add or remove images from the CMS outside of the individual pages you can do so from the Images interface.
        - [Manage snippets](https://guide.wagtail.org/en/how-to-guides/manage-snippets/markdown/): Snippets allow you to create elements on a website once and reuse them in multiple places.
        - [Manage forms](https://guide.wagtail.org/en/how-to-guides/manage-forms/markdown/): Build and manage forms from the Wagtail admin without any technical expertise, and review the submissions they collect.
        - [Manage collections](https://guide.wagtail.org/en/how-to-guides/manage-collections/markdown/): Access to specific sets of images and documents can be controlled by setting up ‘collections’.
        - [Manage redirects](https://guide.wagtail.org/en/how-to-guides/manage-redirects/markdown/): A redirect ensures that when a page is no longer available (404), the visitor and search engines are sent to a new page.
        - [Manage users and roles](https://guide.wagtail.org/en/how-to-guides/manage-users-and-roles/markdown/): As an administrator, a common task will be adding, modifying or removing user profiles.
        - [Manage sites](https://guide.wagtail.org/en/how-to-guides/manage-sites/markdown/): Learn how to manage Wagtail sites: list, add, edit, copy, and delete the site configurations that map hostnames to your page tree.
        - [Configure workflows for moderation](https://guide.wagtail.org/en/how-to-guides/configure-workflows-for-moderation/markdown/): Workflows allow you to configure how moderation works on your site. Workflows are sequences of tasks, all of which must be approved before the workflow completes (by default, this results in the publication of the page, but depends on your site settings).
        - [Promote search results](https://guide.wagtail.org/en/how-to-guides/promote-search-results/markdown/): Promoted search results are an optional Wagtail feature. For details of how to enable them on a Wagtail installation, see Promoted search results.
        - [Manage API tokens](https://guide.wagtail.org/en/how-to-guides/manage-api-tokens/markdown/): API tokens let applications and integrations connect to the Wagtail API on behalf of a user account. Learn how to create, rename, and revoke them.
    - [Concepts](https://guide.wagtail.org/en/concepts/markdown/): Wagtail has strong opinions about CMS best practices. This section describes why Wagtail works how it does from a user’s perspective.
        - [Wagtail interfaces](https://guide.wagtail.org/en/concepts/wagtail-interfaces/markdown/): A Wagtail interface is a screen in the Wagtail portal where you can manage a particular content type. The following are the several interfaces available to you in the Wagtail CMS.
        - [Pages](https://guide.wagtail.org/en/concepts/pages/markdown/): You can use Wagtail Pages to organize the content of your Wagtail websites. It's common for a typical website to have multiple web pages, and the web pages themselves can have several sections. The same is true for Wagtail pages.
        - [Reports](https://guide.wagtail.org/en/concepts/reports/markdown/): Reports are lists of pages that match a specific search. These lists give you an overview of the different actions taken on your website.
        - [Users status](https://guide.wagtail.org/en/concepts/users-status/markdown/): A Wagtail user can either be active or inactive. A user is active if they have the right permissions to log in and perform any action in the Admin interface.
        - [Page status](https://guide.wagtail.org/en/concepts/page-status/markdown/): Page status has to do with the current state of your pages. Your pages can be in one of seven different states.
        - [Accessibility features](https://guide.wagtail.org/en/concepts/accessibility-features/markdown/): An overview of the accessibility features built into the Wagtail admin interface, including navigation, keyboard support, and screen reader aids.
        - [Scheduled publishing](https://guide.wagtail.org/en/concepts/scheduled-publishing/markdown/): Schedule pages and snippets to go live at a specific date and time, and manage scheduled content revisions.
    - [Reference](https://guide.wagtail.org/en/reference/markdown/): Our reference material gets to the point, giving the key information at a glance.
        - [Browser compatibility](https://guide.wagtail.org/en/reference/browser-compatibility/markdown/): For the best experience and security, we recommend that you keep your browser up to date.
        - [Content checks](https://guide.wagtail.org/en/reference/content-checks/markdown/): A built-in content quality checker system to meet high standards on accessibility, SEO, tone of voice, and any other aspect of content performance.
            - [Page metadata](https://guide.wagtail.org/en/reference/content-checks/page-metadata/markdown/): How Wagtail checks page metadata fields, including previews for search engines and other crawlers
        - [Account settings](https://guide.wagtail.org/en/reference/account-settings/markdown/): User account settings are specific to your account. Includes user preferences, notification settings, and more.
        - [Multi-site](https://guide.wagtail.org/en/reference/multi-site/markdown/): Reference for running multiple websites with Wagtail: how sites map hostnames to pages, and multi-site, multi-instance and multi-tenancy compared.
    - [Releases](https://guide.wagtail.org/en/releases/markdown/): Here are overviews of changes made to Wagtail in specific new releases.
        - [New in Wagtail 8.1](https://guide.wagtail.org/en/releases/new-in-wagtail-8-1/markdown/): Discover Wagtail 8.1: SEO metadata directly in content checks, better sitemaps for multilingual sites, and API v3 improvements
        - [New in Wagtail 8.0](https://guide.wagtail.org/en/releases/new-in-wagtail-8-0/markdown/): Discover Wagtail 8.0: the new v3 API to create, edit, and publish content programmatically, plus improvements to the site switcher, workflow details, and image handling.
        - [New in Wagtail 7.4](https://guide.wagtail.org/en/releases/new-in-wagtail-7-4/markdown/): Explore Wagtail 7.4: refined autosave, draft‑saving incomplete blocks, customizable listings, enhanced search, content checks, UI tweaks, and security fixes.
        - [New in Wagtail 7.3](https://guide.wagtail.org/en/releases/new-in-wagtail-7-3/markdown/): New features and other highlights from Wagtail 7.3: autosave, llms.txt, image performance
        - [New in Wagtail 7.2](https://guide.wagtail.org/en/releases/new-in-wagtail-7-2/markdown/): Highlights from the new admin features in Wagtail 7.2
        - [New in Wagtail 7.1](https://guide.wagtail.org/en/releases/new-in-wagtail-7-1/markdown/): Highlights from the new admin features in Wagtail 7.1
        - [New in Wagtail 7.0](https://guide.wagtail.org/en/releases/new-in-wagtail-7-0/markdown/): Highlights from the new admin features in Wagtail 7.0
        - [New in Wagtail 6.4](https://guide.wagtail.org/en/releases/new-in-wagtail-6-4/markdown/): Highlights from the new admin features in Wagtail 6.4
        - [New in Wagtail 6.3](https://guide.wagtail.org/en/releases/new-in-wagtail-6-3/markdown/): Highlights from the new admin features in Wagtail 6.3
        - [New in Wagtail 6.2](https://guide.wagtail.org/en/releases/new-in-wagtail-6-2/markdown/): Highlights from the new admin features in Wagtail 6.2
        - [New in Wagtail 6.1](https://guide.wagtail.org/en/releases/new-in-wagtail-6-1/markdown/): Highlights from the new admin features in Wagtail 6.1
        - [New in Wagtail 6.0](https://guide.wagtail.org/en/releases/new-in-wagtail-6-0/markdown/): Highlights from the new admin features in Wagtail 6.0
        - [New in Wagtail 5.2](https://guide.wagtail.org/en/releases/new-in-wagtail-5-2/markdown/): Highlights from the new admin features in Wagtail 5.2
        - [New in Wagtail 5.1](https://guide.wagtail.org/en/releases/new-in-wagtail-5-1/markdown/): Here are highlights from Wagtail 5.0. For more details, view the full v5.0 release notes.
        - [New in Wagtail 5.0](https://guide.wagtail.org/en/releases/new-in-wagtail-5-0/markdown/): Here are highlights from Wagtail 5.0. For more details, view the full v5.0 release notes.
        - [New in Wagtail 4.2](https://guide.wagtail.org/en/releases/new-in-wagtail-4-2/markdown/): With Wagtail 4.0, 4.1, and now 4.2 – we've added many substantial updates to the Wagtail page editor as well as some other tools that support every member of a content team.
        - [New in Wagtail 4.1](https://guide.wagtail.org/en/releases/new-in-wagtail-4-1/markdown/): With Wagtail 4.0 and 4.1, we've added many substantial updates to the Wagtail page editor as well as some other tools that support every member of a content team.
    - [About](https://guide.wagtail.org/en/about/markdown/): The User Guide is a website to help content editors, moderators, administrators, and other users learn how to use the Wagtail content management system (CMS).
        - [Privacy policy](https://guide.wagtail.org/en/about/privacy-policy/markdown/): What information the Wagtail User Guide collects when you visit or use the site, why we collect it, and who we share it with.
        - [Documentation formats](https://guide.wagtail.org/en/about/documentation-formats/markdown/): The user guide is available in different formats, for people and for their agents: web pages, Markdown, llms.txt, an agent skill, a Model Context Protocol server, WebMCP tools, and an API.
        - [Digital emissions](https://guide.wagtail.org/en/about/digital-emissions/markdown/): How we measure the Wagtail User Guide's carbon emissions, and the services the site relies on.
