Skip to main content
New to Corsair? See API access, authentication, and error handling.

Abilities

categories.get

abilities.categories.get Get one ability category Risk: read
Input Output: unknown

categories.list

abilities.categories.list List the ability categories Risk: read
Input Output

get

abilities.get Get one registered ability with its input and output schema Risk: read
Input Output: unknown

list

abilities.list List the abilities registered on the site (the Abilities API): name, label, input and output schema and annotations Risk: read
Input
Output

run

abilities.run Run an ability that changes something (sent as POST with its input); what it does depends on the ability Risk: destructive
Input Output: any

runDestructive

abilities.runDestructive Run an ability marked destructive (sent as DELETE) Risk: destructive
Input Output: any

runReadonly

abilities.runReadonly Run an ability marked readonly (sent as GET with its input) Risk: read
Input Output: any

Batch

run

batch.run Run up to 25 write requests (POST, PUT, PATCH, DELETE on routes that allow batching) in one call; with validation require-all-validate nothing runs unless every request validates Risk: destructive
Input
Output: any

Block Directory

blockDirectory.search Search the WordPress.org block directory for installable block plugins Risk: read
Input Output

Block Editor

export

blockEditor.export Export the active block theme with the site’s customizations as a zip (returned as a file) Risk: read
Input: empty object Output
blockEditor.navigationFallback Get (or create) the navigation menu the editor falls back to when a Navigation block has none Risk: read
Input: empty object Output: unknown

urlDetails

blockEditor.urlDetails Fetch a URL’s title, description, icon and image, as the editor’s link previews do Risk: read
Input Output: any

Block Patterns

categories

blockPatterns.categories List the registered block pattern categories Risk: read
Input: empty object Output: unknown[]

list

blockPatterns.list List the block patterns registered on the site (theme, core and plugin patterns) Risk: read
Input: empty object Output: unknown[]

Block Renderer

render

blockRenderer.render Render a dynamic block (a server-side rendered block such as core/latest-posts) with attributes to HTML Risk: read
Input
Output: unknown

Blocks

autosaves.create

blocks.autosaves.create Create a autosave for a synced pattern (reusable block) Risk: write
Input
Output: unknown

autosaves.get

blocks.autosaves.get Get one autosave of a synced pattern (reusable block) Risk: read
Input Output: unknown

autosaves.list

blocks.autosaves.list List the autosaves of a synced pattern (reusable block) Risk: read
Input Output: unknown[]

create

blocks.create Create a synced pattern (reusable block) Risk: write
Input
Output: unknown

delete

blocks.delete Delete a synced pattern (reusable block); without force true it goes to the trash Risk: destructive
Input Output: unknown \| unknown

get

blocks.get Get one synced pattern (reusable block) Risk: read
Input Output: unknown

list

blocks.list List synced patterns (reusable blocks), one page at a time, with search and filters Risk: read
Input
Output

revisions.delete

blocks.revisions.delete Delete a revision; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

revisions.get

blocks.revisions.get Get one revision of a synced pattern (reusable block) Risk: read
Input Output: unknown

revisions.list

blocks.revisions.list List the revisions of a synced pattern (reusable block), one page at a time, with search and filters Risk: read
Input Output

update

blocks.update Update a synced pattern (reusable block): only the fields you pass change Risk: write
Input
Output: unknown

Block Types

get

blockTypes.get Get one block type Risk: read
Input Output: unknown

list

blockTypes.list List block types Risk: read
Input Output: unknown[]

listByNamespace

blockTypes.listByNamespace List the registered block types in one namespace (for example core) Risk: read
Input Output: unknown[]

Categories

create

categories.create Create a category Risk: write
Input
Output: unknown

delete

categories.delete Delete a category; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

get

categories.get Get one category Risk: read
Input Output: unknown

list

categories.list List categories, one page at a time, with search and filters Risk: read
Input Output

update

categories.update Update a category: only the fields you pass change Risk: write
Input
Output: unknown

Comments

create

comments.create Create a comment Risk: write
Input
Output: unknown

delete

comments.delete Delete a comment; without force true it goes to the trash Risk: destructive
Input Output: unknown \| unknown

get

comments.get Get one comment Risk: read
Input Output: unknown

list

comments.list List comments, one page at a time, with search and filters Risk: read
Input Output

update

comments.update Update a comment: only the fields you pass change Risk: write
Input
Output: unknown

Font Collections

get

fontCollections.get Get one font collection Risk: read
Input Output: unknown

list

fontCollections.list List font collections, one page at a time Risk: read
Input Output

Font Families

create

fontFamilies.create Create a font family Risk: write
Input Output: unknown

delete

fontFamilies.delete Delete a font family; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

fontFaces.create

fontFamilies.fontFaces.create Create a font face for a font family Risk: write
Input Output: unknown

fontFaces.delete

fontFamilies.fontFaces.delete Delete a font face; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

fontFaces.get

fontFamilies.fontFaces.get Get one font face of a font family Risk: read
Input Output: unknown

fontFaces.list

fontFamilies.fontFaces.list List the font faces of a font family, one page at a time Risk: read
Input Output

get

fontFamilies.get Get one font family Risk: read
Input Output: unknown

list

fontFamilies.list List font families, one page at a time Risk: read
Input Output

update

fontFamilies.update Update a font family: only the fields you pass change Risk: write
Input Output: unknown

Global Styles

get

globalStyles.get Get one global styles record Risk: read
Input Output: unknown

revisions.get

globalStyles.revisions.get Get one revision of a global styles record Risk: read
Input Output: unknown

revisions.list

globalStyles.revisions.list List the revisions of a global styles record, one page at a time Risk: read
Input Output

theme

globalStyles.theme Get the active theme’s base global styles (theme.json settings and styles) Risk: read
Input Output: any

themeVariations

globalStyles.themeVariations List a theme’s style variations Risk: read
Input Output: any

update

globalStyles.update Update a global styles record: only the fields you pass change Risk: write
Input
Output: unknown

Icon Collections

get

iconCollections.get Get one icon collection Risk: read
Input Output: unknown

list

iconCollections.list List icon collections, one page at a time, with search and filters Risk: read
Input Output

Icons

get

icons.get Get one icon Risk: read
Input Output: unknown

list

icons.list List icons, one page at a time, with search and filters Risk: read
Input Output

listByCollection

icons.listByCollection List the icons in one icon collection Risk: read
Input Output: unknown[]

Media

create

media.create Upload a file to the media library (image, PDF, audio, video) with optional title, caption, alt text and the post it belongs to Risk: write
Input
Output: unknown

delete

media.delete Delete a media item; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

edit

media.edit Crop, rotate or flip an image attachment; WordPress saves the result as a new attachment Risk: write
Input
Output: any

finalize

media.finalize Finish an attachment after its client-side image processing: WordPress writes the attachment’s metadata Risk: write
Input
Output: unknown

get

media.get Get one media item Risk: read
Input Output: unknown

list

media.list List media items, one page at a time, with search and filters Risk: read
Input Output

postProcess

media.postProcess Run server-side image processing (sub-size generation) for an uploaded attachment that is waiting for it Risk: write
Input Output: any

sideload

media.sideload Add a file as an extra image size of an existing attachment (the block editor’s client-side image processing) Risk: write
Input
Output: unknown

update

media.update Update a media item: only the fields you pass change Risk: write
Input
Output: unknown

autosaves.create

menuItems.autosaves.create Create a autosave for a menu item Risk: write
Input
Output: unknown

autosaves.get

menuItems.autosaves.get Get one autosave of a menu item Risk: read
Input Output: unknown

autosaves.list

menuItems.autosaves.list List the autosaves of a menu item Risk: read
Input Output: unknown[]

create

menuItems.create Create a menu item Risk: write
Input
Output: unknown

delete

menuItems.delete Delete a menu item; without force true it goes to the trash Risk: destructive
Input Output: unknown \| unknown

get

menuItems.get Get one menu item Risk: read
Input Output: unknown

list

menuItems.list List menu items, one page at a time, with search and filters Risk: read
Input
Output

update

menuItems.update Update a menu item: only the fields you pass change Risk: write
Input
Output: unknown

get

menuLocations.get Get one menu location Risk: read
Input Output: unknown

list

menuLocations.list List menu locations Risk: read
Input Output: unknown

create

menus.create Create a classic menu Risk: write
Input
Output: unknown

delete

menus.delete Delete a classic menu; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

get

menus.get Get one classic menu Risk: read
Input Output: unknown

list

menus.list List classic menus, one page at a time, with search and filters Risk: read
Input Output

update

menus.update Update a classic menu: only the fields you pass change Risk: write
Input
Output: unknown

autosaves.create

navigation.autosaves.create Create a autosave for a navigation menu Risk: write
Input
Output: unknown

autosaves.get

navigation.autosaves.get Get one autosave of a navigation menu Risk: read
Input Output: unknown

autosaves.list

navigation.autosaves.list List the autosaves of a navigation menu Risk: read
Input Output: unknown[]

create

navigation.create Create a navigation menu Risk: write
Input
Output: unknown

delete

navigation.delete Delete a navigation menu; without force true it goes to the trash Risk: destructive
Input Output: unknown \| unknown

get

navigation.get Get one navigation menu Risk: read
Input Output: unknown

list

navigation.list List navigation menus, one page at a time, with search and filters Risk: read
Input Output

revisions.delete

navigation.revisions.delete Delete a revision; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

revisions.get

navigation.revisions.get Get one revision of a navigation menu Risk: read
Input Output: unknown

revisions.list

navigation.revisions.list List the revisions of a navigation menu, one page at a time, with search and filters Risk: read
Input Output

update

navigation.update Update a navigation menu: only the fields you pass change Risk: write
Input
Output: unknown

Oembed

embed

oembed.embed Get the oEmbed data (title, author, HTML embed code) for a URL on this site Risk: read
Input Output: any

proxy

oembed.proxy Get oEmbed data for a URL on another site (YouTube, X, Vimeo …) through the site, as the block editor does Risk: read
Input Output: any

Pages

autosaves.create

pages.autosaves.create Create a autosave for a page Risk: write
Input
Output: unknown

autosaves.get

pages.autosaves.get Get one autosave of a page Risk: read
Input Output: unknown

autosaves.list

pages.autosaves.list List the autosaves of a page Risk: read
Input Output: unknown[]

create

pages.create Create a page Risk: write
Input
Output: unknown

delete

pages.delete Delete a page; without force true it goes to the trash Risk: destructive
Input Output: unknown \| unknown

get

pages.get Get one page Risk: read
Input Output: unknown

list

pages.list List pages, one page at a time, with search and filters Risk: read
Input Output

revisions.delete

pages.revisions.delete Delete a revision; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

revisions.get

pages.revisions.get Get one revision of a page Risk: read
Input Output: unknown

revisions.list

pages.revisions.list List the revisions of a page, one page at a time, with search and filters Risk: read
Input Output

update

pages.update Update a page: only the fields you pass change Risk: write
Input
Output: unknown

Pattern Categories

create

patternCategories.create Create a pattern category Risk: write
Input
Output: unknown

delete

patternCategories.delete Delete a pattern category; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

get

patternCategories.get Get one pattern category Risk: read
Input Output: unknown

list

patternCategories.list List pattern categories, one page at a time, with search and filters Risk: read
Input Output

update

patternCategories.update Update a pattern category: only the fields you pass change Risk: write
Input
Output: unknown

Pattern Directory

search

patternDirectory.search Search the WordPress.org pattern directory Risk: read
Input Output

Plugins

delete

plugins.delete Delete an inactive plugin’s files from the site Risk: destructive
Input Output: unknown \| unknown

get

plugins.get Get one plugin Risk: read
Input Output: unknown

install

plugins.install Install a plugin from the WordPress.org directory by its slug, optionally activating it (runs third-party code on the site) Risk: destructive
Input Output: unknown

list

plugins.list List plugins Risk: read
Input Output: unknown[]

update

plugins.update Activate or deactivate an installed plugin (status active, inactive or network-active) Risk: destructive
Input Output: unknown

Posts

autosaves.create

posts.autosaves.create Create a autosave for a post Risk: write
Input
Output: unknown

autosaves.get

posts.autosaves.get Get one autosave of a post Risk: read
Input Output: unknown

autosaves.list

posts.autosaves.list List the autosaves of a post Risk: read
Input Output: unknown[]

create

posts.create Create a post Risk: write
Input
Output: unknown

delete

posts.delete Delete a post; without force true it goes to the trash Risk: destructive
Input Output: unknown \| unknown

get

posts.get Get one post Risk: read
Input Output: unknown

list

posts.list List posts, one page at a time, with search and filters Risk: read
Input
Output

revisions.delete

posts.revisions.delete Delete a revision; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

revisions.get

posts.revisions.get Get one revision of a post Risk: read
Input Output: unknown

revisions.list

posts.revisions.list List the revisions of a post, one page at a time, with search and filters Risk: read
Input Output

update

posts.update Update a post: only the fields you pass change Risk: write
Input
Output: unknown

Rest

get

rest.get GET any route on the site’s REST API, such as a custom post type (wp/v2/book) or another plugin’s namespace (yoast/v1/..., acf/v3/...); returns the JSON as is Risk: read
Input Output: any

send

rest.send POST, PUT, PATCH or DELETE any route on the site’s REST API (a custom post type, another plugin’s route); returns the JSON as is Risk: destructive
Input Output: any

Search

query

search.query Search posts, terms or post formats across types, one page at a time: title, URL, type and subtype of each match Risk: read
Input Output

Settings

get

settings.get Get the site’s settings: title, tagline, URL, admin email, timezone, date and time formats, language, posts per page, default category, comment settings and more Risk: read
Input: empty object Output: unknown

update

settings.update Update site settings: only the settings you pass change Risk: write
Input Output: unknown

get

sidebars.get Get one widget area (sidebar) Risk: read
Input Output: unknown

list

sidebars.list List widget areas (sidebars) Risk: read
Input Output: unknown[]

update

sidebars.update Update a widget area (sidebar): only the fields you pass change Risk: write
Input
Output: unknown

Site

index

site.index Get the site’s REST discovery document: name, description, URL, timezone, the namespaces it serves (wp/v2, plugins’ own) and every route with its methods and args Risk: read
Input Output: any

Site Health

authorizationHeader

siteHealth.authorizationHeader Run the Site Health test that checks the Authorization header reaches WordPress Risk: read
Input: empty object Output: unknown

backgroundUpdates

siteHealth.backgroundUpdates Run the Site Health test that checks automatic background updates can work Risk: read
Input: empty object Output: unknown

directorySizes

siteHealth.directorySizes Get the size of the site’s directories (WordPress, themes, plugins, uploads, database); can be slow on big sites Risk: read
Input: empty object Output: any

dotorgCommunication

siteHealth.dotorgCommunication Run the Site Health test that checks the site can reach WordPress.org Risk: read
Input: empty object Output: unknown

httpsStatus

siteHealth.httpsStatus Run the Site Health test that checks the site is served over HTTPS Risk: read
Input: empty object Output: unknown

loopbackRequests

siteHealth.loopbackRequests Run the Site Health test that checks the site can make loopback requests to itself Risk: read
Input: empty object Output: unknown

pageCache

siteHealth.pageCache Run the Site Health test that checks for a page cache and its response times Risk: read
Input: empty object Output: any

Statuses

get

statuses.get Get one post status Risk: read
Input Output: unknown

list

statuses.list List post statuses Risk: read
Input Output: unknown

Tags

create

tags.create Create a tag Risk: write
Input
Output: unknown

delete

tags.delete Delete a tag; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

get

tags.get Get one tag Risk: read
Input Output: unknown

list

tags.list List tags, one page at a time, with search and filters Risk: read
Input Output

update

tags.update Update a tag: only the fields you pass change Risk: write
Input
Output: unknown

Taxonomies

get

taxonomies.get Get one taxonomy Risk: read
Input Output: unknown

list

taxonomies.list List taxonomies Risk: read
Input Output: unknown

Template Parts

autosaves.create

templateParts.autosaves.create Create a autosave for a template part Risk: write
Input
Output: unknown

autosaves.get

templateParts.autosaves.get Get one autosave of a template part Risk: read
Input Output: unknown

autosaves.list

templateParts.autosaves.list List the autosaves of a template part Risk: read
Input Output: unknown[]

create

templateParts.create Create a template part Risk: write
Input
Output: unknown

delete

templateParts.delete Delete a template part; without force true it goes to the trash Risk: destructive
Input Output: unknown \| unknown

get

templateParts.get Get one template part Risk: read
Input Output: unknown

list

templateParts.list List template parts Risk: read
Input Output: unknown[]

lookup

templateParts.lookup Find the fallback template part WordPress would use for a slug Risk: read
Input Output: any

revisions.delete

templateParts.revisions.delete Delete a revision; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

revisions.get

templateParts.revisions.get Get one revision of a template part Risk: read
Input Output: unknown

revisions.list

templateParts.revisions.list List the revisions of a template part, one page at a time, with search and filters Risk: read
Input Output

update

templateParts.update Update a template part: only the fields you pass change Risk: write
Input
Output: unknown

Templates

autosaves.create

templates.autosaves.create Create a autosave for a block template Risk: write
Input
Output: unknown

autosaves.get

templates.autosaves.get Get one autosave of a block template Risk: read
Input Output: unknown

autosaves.list

templates.autosaves.list List the autosaves of a block template Risk: read
Input Output: unknown[]

create

templates.create Create a block template Risk: write
Input
Output: unknown

delete

templates.delete Delete a block template; without force true it goes to the trash Risk: destructive
Input Output: unknown \| unknown

get

templates.get Get one block template Risk: read
Input Output: unknown

list

templates.list List block templates Risk: read
Input Output: unknown[]

lookup

templates.lookup Find the fallback template WordPress would use for a slug (for example single-post), when the theme has none of its own Risk: read
Input Output: any

revisions.delete

templates.revisions.delete Delete a revision; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

revisions.get

templates.revisions.get Get one revision of a block template Risk: read
Input Output: unknown

revisions.list

templates.revisions.list List the revisions of a block template, one page at a time, with search and filters Risk: read
Input Output

update

templates.update Update a block template: only the fields you pass change Risk: write
Input
Output: unknown

Themes

get

themes.get Get one theme Risk: read
Input Output: unknown

list

themes.list List themes Risk: read
Input Output: unknown[]

Types

get

types.get Get one post type Risk: read
Input Output: unknown

list

types.list List post types Risk: read
Input Output: unknown

Users

applicationPasswords.create

users.applicationPasswords.create Create an application password for a user; the response’s password is shown once and can act as that user Risk: destructive
Input Output: unknown

applicationPasswords.delete

users.applicationPasswords.delete Delete a application password Risk: destructive
Input Output: unknown \| unknown

applicationPasswords.deleteAll

users.applicationPasswords.deleteAll Revoke every application password of a user, the one this call uses included Risk: destructive
Input Output: unknown \| unknown

applicationPasswords.get

users.applicationPasswords.get Get one application password of a user Risk: read
Input Output: unknown

applicationPasswords.introspect

users.applicationPasswords.introspect Get the application password this call is made with (name, uuid, last used) Risk: read
Input Output: unknown

applicationPasswords.list

users.applicationPasswords.list List the application passwords of a user Risk: read
Input Output: unknown[]

applicationPasswords.update

users.applicationPasswords.update Update a application password: only the fields you pass change Risk: write
Input Output: unknown

create

users.create Create a user Risk: write
Input
Output: unknown

delete

users.delete Delete a user; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

deleteMe

users.deleteMe Delete the authenticated user’s own account, reassigning their posts to another user (reassign, required with force: true) Risk: destructive
Input Output: unknown \| unknown

get

users.get Get one user Risk: read
Input Output: unknown

list

users.list List users, one page at a time, with search and filters Risk: read
Input Output

me

users.me Get the user the application password belongs to: name, roles and (with context edit) email and capabilities Risk: read
Input Output: unknown

update

users.update Update a user: only the fields you pass change Risk: write
Input
Output: unknown

updateMe

users.updateMe Update the authenticated user’s own profile Risk: write
Input
Output: unknown

View Config

get

viewConfig.get Get the data views configuration the admin screens use for an entity Risk: read
Input Output: unknown

Widgets

create

widgets.create Create a widget Risk: write
Input
Output: unknown

delete

widgets.delete Delete a widget; WordPress needs force true for this type, which deletes it permanently Risk: destructive
Input Output: unknown \| unknown

get

widgets.get Get one widget Risk: read
Input Output: unknown

list

widgets.list List widgets Risk: read
Input Output: unknown[]

update

widgets.update Update a widget: only the fields you pass change Risk: write
Input
Output: unknown

Widget Types

encode

widgetTypes.encode Encode a legacy widget’s form data into the instance a widget block stores Risk: read
Input
Output: any

get

widgetTypes.get Get one widget type Risk: read
Input Output: unknown

list

widgetTypes.list List widget types Risk: read
Input Output: unknown[]

render

widgetTypes.render Render a legacy widget instance to HTML Risk: read
Input
Output: any