WordPress

App · Website Builders · 27 actions

Publish and manage your WordPress site: write, update and delete posts and pages, organize them with categories and tags, and moderate comments. Start workflows when a post is published or a comment comes in.

Actions

ActionWhat it does
Comment on a postLeave a comment on a post.
Create a categoryAdd a category to the site.
Create a pageCreate a new page.
Create a postWrite a new post on your site.
Create a tagAdd a tag to the site so posts can be filed under it.
Create a userGive someone an account on your site, with a role such as subscriber or editor.
Delete a categoryDelete a category.
Delete a commentMove a comment to the trash, or delete it for good.
Delete a pageMove a page to the trash, or delete it for good.
Delete a postMove a post to the trash, or delete it for good.
Delete a tagDelete a tag.
Delete a userDelete a user's account for good.
Delete mediaDelete a file from your site's Media Library.
Find categoriesList or search the site's categories, or find the categories on one post.
Find commentsList comments across the site or on one post.
Find pagesList or search pages.
Find postsList or search posts.
Find tagsList or search the site's tags, or find the tags on one post.
Find usersList or search the people who have an account on your site, with their email and role.
Get a pageGet one page, including its full content.
Get a postGet one post, including its full content.
Get a userGet one user's details: their username, name, email and role.
Moderate a commentApprove a comment, hold it for moderation, mark it as spam or move it to the trash, or change its text.
Update a pageChange an existing page.
Update a postChange an existing post.
Update a userChange a user's email, password, name, website, bio or role.
Upload mediaAdd an image, video, PDF or other file to your site's Media Library, from a file uploaded here, one from an earlier step, or a link to one.

Comment on a post

Leave a comment on a post. The post must be published or private (WordPress rejects comments on drafts) and its comment status must be open.

Inputs

Postpost_idtextRequired
The post to comment on.
CommentcontenttextRequired
The comment text. WordPress rejects a second comment with the same author and exactly the same text.
Author nameauthor_nametext
Who the comment is from. Leave empty to comment as the account you connected.
Author emailauthor_emailtext
The comment author's email address.
Author websiteauthor_urltext
A website to link the author's name to.
Reply toparent_comment_idtext
The comment this one replies to. Leave empty for a top-level comment.
Statusstatustext
Whether the comment goes live straight away. Leave empty to let the site's moderation settings decide.One of: approved (Approve), hold (Hold for moderation), spam (Mark as spam), unspam (Not spam), trash (Move to trash), untrash (Restore from trash).

Outputs

author_emailtext
author_nametext
author_urltext
contenttext
datetext
idnumber
linktext
parentnumber
postnumber
statustext
Example output
{
  "author_email": "dana@example.com",
  "author_name": "Dana Reader",
  "author_url": "",
  "content": "<p>This is exactly what we needed, thank you.</p>",
  "date": "2026-03-14T12:05:00",
  "id": 903,
  "link": "https://example.com/spring-product-update/#comment-903",
  "parent": 0,
  "post": 412,
  "status": "approved"
}

Create a category

Add a category to the site. Categories can be nested under one another.

Inputs

NamenametextRequired
The category name, for example 'Product'.
Descriptiondescriptiontext
A description, shown by some themes.
Slugslugtext
The URL segment for the category. Leave empty to derive one from the name.
Parent categoryparent_category_idtext
The category to put this one under. Leave empty for a top-level category.

Outputs

countnumber
descriptiontext
idnumber
linktext
nametext
parentnumber
slugtext
taxonomytext
Example output
{
  "count": 34,
  "description": "Release notes and product news.",
  "id": 7,
  "link": "https://example.com/category/product/",
  "name": "Product",
  "parent": 0,
  "slug": "product",
  "taxonomy": "category"
}

Create a page

Create a new page. Leave the status empty to save it as a draft.

Inputs

TitletitletextRequired
The page title, for example 'About us'.
ContentcontenttextRequired
The body of the page. HTML is allowed.
Statusstatustext
Whether to publish the page. Leave empty to save a draft.One of: publish (Published), future (Scheduled), draft, pending (Pending review), private.
Excerptexcerpttext
A short summary, used by some themes.
Slugslugtext
The URL segment for the page. Leave empty to derive one from the title.
Parent pageparent_page_idtext
The page to put this one under. Leave empty for a top-level page.
Menu ordermenu_ordernumber
Where the page sits among its siblings. Lower numbers come first.
Publish datepublish_datedate and time
When the page should be dated.
Comment statuscomment_statustext
Whether readers may comment on the page.One of: open, closed.

Outputs

authornumber
comment_statustext
contenttext
datetext
excerpttext
idnumber
linktext
menu_ordernumber
modifiedtext
parentnumber
slugtext
statustext
titletext
Example output
{
  "author": 1,
  "comment_status": "closed",
  "content": "<p>Who we are.</p>",
  "date": "2026-01-06T11:00:00",
  "excerpt": "",
  "id": 88,
  "link": "https://example.com/about-us/",
  "menu_order": 2,
  "modified": "2026-02-02T16:20:00",
  "parent": 0,
  "slug": "about-us",
  "status": "publish",
  "title": "About us"
}

Create a post

Write a new post on your site. Leave the status empty to save it as a draft.

Inputs

TitletitletextRequired
The post title, for example 'Our spring update'.
ContentcontenttextRequired
The body of the post. HTML is allowed.
Statusstatustext
Whether to publish the post. Leave empty to save a draft.One of: publish (Published), future (Scheduled), draft, pending (Pending review), private.
Excerptexcerpttext
A short summary shown in post listings.
Slugslugtext
The URL segment for the post. Leave empty to let WordPress derive one from the title.
Categoriescategorieslist
The categories to file the post under.
Tagstagslist
The tags to put on the post.
Publish datepublish_datedate and time
When the post should be dated. Set a future date with the Scheduled status to schedule it.
Comment statuscomment_statustext
Whether readers may comment on the post.One of: open, closed.
Post formatpost_formattext
The post format, if your theme uses them. Defaults to Standard.One of: standard, aside, chat, gallery, link, image, quote, status, video, audio.
Pin to the front pagestickytrue/false
Whether to keep the post at the top of the blog.
Featured imagefeatured_mediatext
The image shown with the post on the blog and when it's shared: the ID an Upload media step gives back, or one from the Media Library.

Outputs

authornumber
categorieslist
comment_statustext
contenttext
datetext
excerpttext
featured_medianumber
formattext
idnumber
linktext
modifiedtext
slugtext
statustext
stickytrue/false
tagslist
titletext
Example output
{
  "author": 1,
  "categories": [
    7
  ],
  "comment_status": "open",
  "content": "<p>Everything that shipped this quarter.</p>",
  "date": "2026-03-14T09:30:00",
  "excerpt": "<p>Everything that shipped this quarter.</p>",
  "featured_media": 0,
  "format": "standard",
  "id": 412,
  "link": "https://example.com/spring-product-update/",
  "modified": "2026-03-14T09:30:00",
  "slug": "spring-product-update",
  "status": "publish",
  "sticky": false,
  "tags": [
    21,
    22
  ],
  "title": "Spring product update"
}

Create a tag

Add a tag to the site so posts can be filed under it.

Inputs

NamenametextRequired
The tag name, for example 'changelog'.
Descriptiondescriptiontext
A description, shown by some themes.
Slugslugtext
The URL segment for the tag. Leave empty to derive one from the name.

Outputs

countnumber
descriptiontext
idnumber
linktext
nametext
parentnumber
slugtext
taxonomytext
Example output
{
  "count": 12,
  "description": "",
  "id": 21,
  "link": "https://example.com/tag/changelog/",
  "name": "changelog",
  "parent": 0,
  "slug": "changelog",
  "taxonomy": "post_tag"
}

Create a user

Give someone an account on your site, with a role such as subscriber or editor. WordPress doesn't email them, so share how to sign in yourself. Needs an administrator's account.

Inputs

UsernameusernametextRequired
The name they'll sign in with. It can't be changed later.
EmailemailtextRequired
Their email address. No two users can share one.
PasswordpasswordtextRequired
Their password. They can change it, or reset it from the sign-in page.
First namefirst_nametext
Their first name.
Last namelast_nametext
Their last name.
Display namenametext
The name shown on the site, such as on their posts.
Nicknamenicknametext
Their nickname.
Websiteurltext
Their website's address.
Biographical infodescriptiontext
A few words about them, shown on some themes' author pages.
Roleroletext
What they can do on the site: subscriber, contributor, author, editor or administrator, or a role a plugin adds such as customer. Leave empty for the site's default role.

Outputs

avatar_urltext
Their profile picture.
descriptiontext
Their biographical info.
emailtext
Their email address.
first_nametext
Their first name.
idnumber
The user's ID.
last_nametext
Their last name.
linktext
Their author page on the site.
nametext
The name shown on the site.
nicknametext
Their nickname.
registered_datetext
When they joined the site.
roleslist
Their roles, such as editor.
slugtext
The short name in their author page's address.
urltext
Their website.
usernametext
The name they sign in with.
Example output
{
  "avatar_url": "https://secure.gravatar.com/avatar/0?s=96",
  "description": "Writes our weekly news.",
  "email": "sam@example.com",
  "first_name": "Sam",
  "id": 7,
  "last_name": "Rivera",
  "link": "https://example.com/author/sam/",
  "name": "Sam Rivera",
  "nickname": "sam",
  "registered_date": "2026-02-01T09:00:00+00:00",
  "roles": [
    "author"
  ],
  "slug": "sam",
  "url": "https://samrivera.example",
  "username": "sam"
}

Delete a category

Delete a category. WordPress has no trash for categories, so this is permanent: posts filed under it keep their content and fall back to the default category.

Inputs

Categorycategory_idtextRequired
The category to delete.

Outputs

countnumber
descriptiontext
idnumber
linktext
nametext
parentnumber
slugtext
taxonomytext
Example output
{
  "count": 34,
  "description": "Release notes and product news.",
  "id": 7,
  "link": "https://example.com/category/product/",
  "name": "Product",
  "parent": 0,
  "slug": "product",
  "taxonomy": "category"
}

Delete a comment

Move a comment to the trash, or delete it for good. A trashed comment can be restored from the trash in WordPress; a permanent delete cannot be undone.

Inputs

Commentcomment_idtextRequired
The comment to delete.
Delete permanentlypermanentlytrue/false
Turn this on to skip the trash and delete the comment for good.

Outputs

author_emailtext
author_nametext
author_urltext
contenttext
datetext
idnumber
linktext
parentnumber
postnumber
statustext
Example output
{
  "author_email": "dana@example.com",
  "author_name": "Dana Reader",
  "author_url": "",
  "content": "<p>This is exactly what we needed, thank you.</p>",
  "date": "2026-03-14T12:05:00",
  "id": 903,
  "link": "https://example.com/spring-product-update/#comment-903",
  "parent": 0,
  "post": 412,
  "status": "trash"
}

Delete a page

Move a page to the trash, or delete it for good. A trashed page can be restored from the trash in WordPress; a permanent delete cannot be undone.

Inputs

Pagepage_idtextRequired
The page to delete.
Delete permanentlypermanentlytrue/false
Turn this on to skip the trash and delete the page for good.

Outputs

authornumber
comment_statustext
contenttext
datetext
excerpttext
idnumber
linktext
menu_ordernumber
modifiedtext
parentnumber
slugtext
statustext
titletext
Example output
{
  "author": 1,
  "comment_status": "closed",
  "content": "<p>Who we are.</p>",
  "date": "2026-01-06T11:00:00",
  "excerpt": "",
  "id": 88,
  "link": "https://example.com/about-us/",
  "menu_order": 2,
  "modified": "2026-02-02T16:20:00",
  "parent": 0,
  "slug": "about-us",
  "status": "trash",
  "title": "About us"
}

Delete a post

Move a post to the trash, or delete it for good. A trashed post can be restored from the trash in WordPress; a permanent delete cannot be undone.

Inputs

Postpost_idtextRequired
The post to delete.
Delete permanentlypermanentlytrue/false
Turn this on to skip the trash and delete the post for good.

Outputs

authornumber
categorieslist
comment_statustext
contenttext
datetext
excerpttext
featured_medianumber
formattext
idnumber
linktext
modifiedtext
slugtext
statustext
stickytrue/false
tagslist
titletext
Example output
{
  "author": 1,
  "categories": [
    7
  ],
  "comment_status": "open",
  "content": "<p>Everything that shipped this quarter.</p>",
  "date": "2026-03-14T09:30:00",
  "excerpt": "<p>Everything that shipped this quarter.</p>",
  "featured_media": 0,
  "format": "standard",
  "id": 412,
  "link": "https://example.com/spring-product-update/",
  "modified": "2026-03-14T09:30:00",
  "slug": "spring-product-update",
  "status": "trash",
  "sticky": false,
  "tags": [
    21,
    22
  ],
  "title": "Spring product update"
}

Delete a tag

Delete a tag. WordPress has no trash for tags, so this is permanent: posts carrying it keep their content and simply lose the tag.

Inputs

Tagtag_idtextRequired
The tag to delete.

Outputs

countnumber
descriptiontext
idnumber
linktext
nametext
parentnumber
slugtext
taxonomytext
Example output
{
  "count": 12,
  "description": "",
  "id": 21,
  "link": "https://example.com/tag/changelog/",
  "name": "changelog",
  "parent": 0,
  "slug": "changelog",
  "taxonomy": "post_tag"
}

Delete a user

Delete a user's account for good. Their posts and pages go to the user you choose, so nothing they wrote is lost. Needs an administrator's account.

Inputs

Userwp_user_idtextRequired
The ID of the user to delete.
Give their content toreassign_totextRequired
The ID of the user who takes over their posts and pages.

Outputs

avatar_urltext
Their profile picture.
descriptiontext
Their biographical info.
emailtext
Their email address.
first_nametext
Their first name.
idnumber
The user's ID.
last_nametext
Their last name.
linktext
Their author page on the site.
nametext
The name shown on the site.
nicknametext
Their nickname.
registered_datetext
When they joined the site.
roleslist
Their roles, such as editor.
slugtext
The short name in their author page's address.
urltext
Their website.
usernametext
The name they sign in with.
Example output
{
  "avatar_url": "https://secure.gravatar.com/avatar/0?s=96",
  "description": "Writes our weekly news.",
  "email": "sam@example.com",
  "first_name": "Sam",
  "id": 7,
  "last_name": "Rivera",
  "link": "https://example.com/author/sam/",
  "name": "Sam Rivera",
  "nickname": "sam",
  "registered_date": "2026-02-01T09:00:00+00:00",
  "roles": [
    "author"
  ],
  "slug": "sam",
  "url": "https://samrivera.example",
  "username": "sam"
}

Delete media

Delete a file from your site's Media Library. WordPress has no trash for media here, so this is permanent, and posts that show the file lose it.

Inputs

Filemedia_idtextRequired
The ID of the file to delete, from an Upload media step or the New media trigger.

Outputs

alt_texttext
captiontext
datetext
idnumber
linktext
media_typetext
mime_typetext
postnumber
source_urltext
titletext
Example output
{
  "alt_text": "Flowers in a window box",
  "caption": "",
  "date": "2026-03-14T09:30:00",
  "id": 512,
  "link": "https://example.com/spring-banner/",
  "media_type": "image",
  "mime_type": "image/jpeg",
  "post": 0,
  "source_url": "https://example.com/wp-content/uploads/2026/03/spring-banner.jpg",
  "title": "spring-banner"
}

Find categories

List or search the site's categories, or find the categories on one post.

Inputs

Searchsearchtext
Only return categories matching this text.
Parent categoryparent_category_idtext
Only return categories directly under this one. Enter 0 for top-level categories only.
Postpost_idtext
Only return the categories on this post.
Hide unused categorieshide_emptytrue/false
Turn this on to leave out categories with no published posts.
Sort directionordertext
Whether to sort ascending or descending.One of: asc (Ascending), desc (Descending).
Sort byorder_bytext
Which field to sort by. Defaults to name.One of: id, include (Given ID order), name, slug, include_slugs (Given slug order), term_group (Term Group), description, count.
How manyper_pagenumber
How many to return at most, up to 100. Defaults to 10.From 1 to 100.
Next pagepagenumber
To get the ones after the first batch, enter 2 for the second batch, 3 for the third, and so on. Leave empty for the first.At least 1.
Slugslugtext
Only return the category with this exact slug.

Outputs

countnumber
itemslist
Example output
{
  "count": 1,
  "items": [
    {
      "count": 34,
      "description": "Release notes and product news.",
      "id": 7,
      "link": "https://example.com/category/product/",
      "name": "Product",
      "parent": 0,
      "slug": "product",
      "taxonomy": "category"
    }
  ]
}

Find comments

List comments across the site or on one post. Set the status to 'Awaiting moderation' to get the comments waiting for approval.

Inputs

Postpost_idtext
Only return comments on this post.
Searchsearchtext
Only return comments matching this text.
Statusstatustext
Which comments to return. Defaults to approved comments only.One of: approve (Approved), hold (Awaiting moderation), spam, trash (Trashed), all (All statuses).
Author emailauthor_emailtext
Only return comments left by this email address.
Replies toparent_comment_idtext
Only return replies to this comment. Enter 0 for top-level comments only.
Posted afterpublished_afterdate and time
Only return comments left after this moment.
Posted beforepublished_beforedate and time
Only return comments left before this moment.
Sort directionordertext
Whether to sort ascending or descending.One of: asc (Ascending), desc (Descending).
Sort byorder_bytext
Which field to sort by. Defaults to date.One of: date, date_gmt (Date (GMT)), id, include (Given ID order), post, parent, type.
How manyper_pagenumber
How many to return at most, up to 100. Defaults to 10.From 1 to 100.
Next pagepagenumber
To get the ones after the first batch, enter 2 for the second batch, 3 for the third, and so on. Leave empty for the first.At least 1.

Outputs

countnumber
itemslist
Example output
{
  "count": 1,
  "items": [
    {
      "author_email": "dana@example.com",
      "author_name": "Dana Reader",
      "author_url": "",
      "content": "<p>This is exactly what we needed, thank you.</p>",
      "date": "2026-03-14T12:05:00",
      "id": 903,
      "link": "https://example.com/spring-product-update/#comment-903",
      "parent": 0,
      "post": 412,
      "status": "approved"
    }
  ]
}

Find pages

List or search pages. Every filter is optional; with none set this returns the site's published pages.

Inputs

Searchsearchtext
Only return pages matching this text.
Statusesstatuslist
Only return pages with these statuses. Defaults to published pages only.One or more of: publish (Published), future (Scheduled), draft, pending (Pending review), private.
Parent pageparent_page_idtext
Only return pages directly under this one. Enter 0 for top-level pages only.
Sort directionordertext
Whether to sort ascending or descending.One of: asc (Ascending), desc (Descending).
Sort byorder_bytext
Which field to sort by. Defaults to date.One of: author, date, id, include (Given ID order), modified, parent, relevance, slug, include_slugs (Given slug order), title, menu_order (Menu order).
How manyper_pagenumber
How many to return at most, up to 100. Defaults to 10.From 1 to 100.
Next pagepagenumber
To get the ones after the first batch, enter 2 for the second batch, 3 for the third, and so on. Leave empty for the first.At least 1.
Slugslugtext
Only return the page with this exact slug.

Outputs

countnumber
itemslist
Example output
{
  "count": 1,
  "items": [
    {
      "author": 1,
      "comment_status": "closed",
      "content": "<p>Who we are.</p>",
      "date": "2026-01-06T11:00:00",
      "excerpt": "",
      "id": 88,
      "link": "https://example.com/about-us/",
      "menu_order": 2,
      "modified": "2026-02-02T16:20:00",
      "parent": 0,
      "slug": "about-us",
      "status": "publish",
      "title": "About us"
    }
  ]
}

Find posts

List or search posts. Every filter is optional; with none set this returns the site's most recent published posts.

Inputs

Searchsearchtext
Only return posts matching this text.
Statusesstatuslist
Only return posts with these statuses. Defaults to published posts only.One or more of: publish (Published), future (Scheduled), draft, pending (Pending review), private.
Categoriescategorieslist
Only return posts in these categories.
Tagstagslist
Only return posts with these tags.
Authorauthor_idtext
Only return posts written by this person.
Published afterpublished_afterdate and time
Only return posts dated after this moment.
Published beforepublished_beforedate and time
Only return posts dated before this moment.
Sort directionordertext
Whether to sort ascending or descending.One of: asc (Ascending), desc (Descending).
Sort byorder_bytext
Which field to sort by. Defaults to date.One of: author, date, id, include (Given ID order), modified, parent, relevance, slug, include_slugs (Given slug order), title.
How manyper_pagenumber
How many to return at most, up to 100. Defaults to 10.From 1 to 100.
Next pagepagenumber
To get the ones after the first batch, enter 2 for the second batch, 3 for the third, and so on. Leave empty for the first.At least 1.
Slugslugtext
Only return the post with this exact slug.

Outputs

countnumber
itemslist
Example output
{
  "count": 1,
  "items": [
    {
      "author": 1,
      "categories": [
        7
      ],
      "comment_status": "open",
      "content": "<p>Everything that shipped this quarter.</p>",
      "date": "2026-03-14T09:30:00",
      "excerpt": "<p>Everything that shipped this quarter.</p>",
      "featured_media": 0,
      "format": "standard",
      "id": 412,
      "link": "https://example.com/spring-product-update/",
      "modified": "2026-03-14T09:30:00",
      "slug": "spring-product-update",
      "status": "publish",
      "sticky": false,
      "tags": [
        21,
        22
      ],
      "title": "Spring product update"
    }
  ]
}

Find tags

List or search the site's tags, or find the tags on one post.

Inputs

Searchsearchtext
Only return tags matching this text.
Postpost_idtext
Only return the tags on this post.
Hide unused tagshide_emptytrue/false
Turn this on to leave out tags with no published posts.
Sort directionordertext
Whether to sort ascending or descending.One of: asc (Ascending), desc (Descending).
Sort byorder_bytext
Which field to sort by. Defaults to name.One of: id, include (Given ID order), name, slug, include_slugs (Given slug order), term_group (Term Group), description, count.
How manyper_pagenumber
How many to return at most, up to 100. Defaults to 10.From 1 to 100.
Next pagepagenumber
To get the ones after the first batch, enter 2 for the second batch, 3 for the third, and so on. Leave empty for the first.At least 1.
Slugslugtext
Only return the tag with this exact slug.

Outputs

countnumber
itemslist
Example output
{
  "count": 1,
  "items": [
    {
      "count": 12,
      "description": "",
      "id": 21,
      "link": "https://example.com/tag/changelog/",
      "name": "changelog",
      "parent": 0,
      "slug": "changelog",
      "taxonomy": "post_tag"
    }
  ]
}

Find users

List or search the people who have an account on your site, with their email and role. Needs an administrator's account.

Inputs

Searchsearchtext
Only return users whose name, username, email or website matches this text.
Roleroletext
Only return users with this role, such as editor.
Sort directionordertext
Whether to sort ascending or descending.One of: asc (Ascending), desc (Descending).
Sort byorder_bytext
Which field to sort by. Defaults to name.One of: id, include (Given ID order), name, registered_date (Date joined), slug, include_slugs (Given slug order), email, url (Website).
How manyper_pagenumber
How many to return at most, up to 100. Defaults to 10.From 1 to 100.
Next pagepagenumber
To get the ones after the first batch, enter 2 for the second batch, 3 for the third, and so on. Leave empty for the first.At least 1.

Outputs

countnumber
How many users are on this page.
itemslist
The users found.
Example output
{
  "count": 1,
  "items": [
    {
      "avatar_url": "https://secure.gravatar.com/avatar/0?s=96",
      "description": "Writes our weekly news.",
      "email": "sam@example.com",
      "first_name": "Sam",
      "id": 7,
      "last_name": "Rivera",
      "link": "https://example.com/author/sam/",
      "name": "Sam Rivera",
      "nickname": "sam",
      "registered_date": "2026-02-01T09:00:00+00:00",
      "roles": [
        "author"
      ],
      "slug": "sam",
      "url": "https://samrivera.example",
      "username": "sam"
    }
  ]
}

Get a page

Get one page, including its full content.

Inputs

Pagepage_idtextRequired
The page to get.

Outputs

authornumber
comment_statustext
contenttext
datetext
excerpttext
idnumber
linktext
menu_ordernumber
modifiedtext
parentnumber
slugtext
statustext
titletext
Example output
{
  "author": 1,
  "comment_status": "closed",
  "content": "<p>Who we are.</p>",
  "date": "2026-01-06T11:00:00",
  "excerpt": "",
  "id": 88,
  "link": "https://example.com/about-us/",
  "menu_order": 2,
  "modified": "2026-02-02T16:20:00",
  "parent": 0,
  "slug": "about-us",
  "status": "publish",
  "title": "About us"
}

Get a post

Get one post, including its full content.

Inputs

Postpost_idtextRequired
The post to get.

Outputs

authornumber
categorieslist
comment_statustext
contenttext
datetext
excerpttext
featured_medianumber
formattext
idnumber
linktext
modifiedtext
slugtext
statustext
stickytrue/false
tagslist
titletext
Example output
{
  "author": 1,
  "categories": [
    7
  ],
  "comment_status": "open",
  "content": "<p>Everything that shipped this quarter.</p>",
  "date": "2026-03-14T09:30:00",
  "excerpt": "<p>Everything that shipped this quarter.</p>",
  "featured_media": 0,
  "format": "standard",
  "id": 412,
  "link": "https://example.com/spring-product-update/",
  "modified": "2026-03-14T09:30:00",
  "slug": "spring-product-update",
  "status": "publish",
  "sticky": false,
  "tags": [
    21,
    22
  ],
  "title": "Spring product update"
}

Get a user

Get one user's details: their username, name, email and role. Needs an administrator's account.

Inputs

Userwp_user_idtextRequired
The ID of the user, from a Find users step.

Outputs

avatar_urltext
Their profile picture.
descriptiontext
Their biographical info.
emailtext
Their email address.
first_nametext
Their first name.
idnumber
The user's ID.
last_nametext
Their last name.
linktext
Their author page on the site.
nametext
The name shown on the site.
nicknametext
Their nickname.
registered_datetext
When they joined the site.
roleslist
Their roles, such as editor.
slugtext
The short name in their author page's address.
urltext
Their website.
usernametext
The name they sign in with.
Example output
{
  "avatar_url": "https://secure.gravatar.com/avatar/0?s=96",
  "description": "Writes our weekly news.",
  "email": "sam@example.com",
  "first_name": "Sam",
  "id": 7,
  "last_name": "Rivera",
  "link": "https://example.com/author/sam/",
  "name": "Sam Rivera",
  "nickname": "sam",
  "registered_date": "2026-02-01T09:00:00+00:00",
  "roles": [
    "author"
  ],
  "slug": "sam",
  "url": "https://samrivera.example",
  "username": "sam"
}

Moderate a comment

Approve a comment, hold it for moderation, mark it as spam or move it to the trash, or change its text. Fill in only what you want to change.

Inputs

Commentcomment_idtextRequired
The comment to change.
Commentcontenttext
New text for the comment.
Moderationstatustext
What to do with the comment.One of: approved (Approve), hold (Hold for moderation), spam (Mark as spam), unspam (Not spam), trash (Move to trash), untrash (Restore from trash).
Author nameauthor_nametext
A corrected name for the comment's author.
Author emailauthor_emailtext
A corrected email address for the author.

Outputs

author_emailtext
author_nametext
author_urltext
contenttext
datetext
idnumber
linktext
parentnumber
postnumber
statustext
Example output
{
  "author_email": "dana@example.com",
  "author_name": "Dana Reader",
  "author_url": "",
  "content": "<p>This is exactly what we needed, thank you.</p>",
  "date": "2026-03-14T12:05:00",
  "id": 903,
  "link": "https://example.com/spring-product-update/#comment-903",
  "parent": 0,
  "post": 412,
  "status": "hold"
}

Update a page

Change an existing page. Fill in only the fields you want to change; everything left empty stays as it is.

Inputs

Pagepage_idtextRequired
The page to change.
Titletitletext
A new title for the page.
Contentcontenttext
New body content. HTML is allowed.
Statusstatustext
A new status for the page.One of: publish (Published), future (Scheduled), draft, pending (Pending review), private.
Excerptexcerpttext
A new short summary for the page.
Slugslugtext
A new URL segment. Changing this changes the page's public address.
Parent pageparent_page_idtext
The page to put this one under. Enter 0 to move it back to the top level.
Menu ordermenu_ordernumber
Where the page sits among its siblings. Lower numbers come first.

Outputs

authornumber
comment_statustext
contenttext
datetext
excerpttext
idnumber
linktext
menu_ordernumber
modifiedtext
parentnumber
slugtext
statustext
titletext
Example output
{
  "author": 1,
  "comment_status": "closed",
  "content": "<p>Who we are.</p>",
  "date": "2026-01-06T11:00:00",
  "excerpt": "",
  "id": 88,
  "link": "https://example.com/about-us/",
  "menu_order": 2,
  "modified": "2026-02-02T16:20:00",
  "parent": 0,
  "slug": "about-us",
  "status": "publish",
  "title": "About our team"
}

Update a post

Change an existing post. Fill in only the fields you want to change; everything left empty stays as it is.

Inputs

Postpost_idtextRequired
The post to change.
Titletitletext
A new title for the post.
Contentcontenttext
New body content. HTML is allowed.
Statusstatustext
A new status. Set this to Published to publish a draft.One of: publish (Published), future (Scheduled), draft, pending (Pending review), private.
Excerptexcerpttext
A new short summary for the post.
Slugslugtext
A new URL segment. Changing this changes the post's public address.
Categoriescategorieslist
The categories the post should have. This replaces its current categories rather than adding to them.
Tagstagslist
The tags the post should have. This replaces its current tags rather than adding to them.
Comment statuscomment_statustext
Whether readers may comment on the post.One of: open, closed.
Post formatpost_formattext
A new post format, if your theme uses them.One of: standard, aside, chat, gallery, link, image, quote, status, video, audio.
Pin to the front pagestickytrue/false
Whether to keep the post at the top of the blog.
Featured imagefeatured_mediatext
The image shown with the post on the blog and when it's shared: the ID an Upload media step gives back, or one from the Media Library.

Outputs

authornumber
categorieslist
comment_statustext
contenttext
datetext
excerpttext
featured_medianumber
formattext
idnumber
linktext
modifiedtext
slugtext
statustext
stickytrue/false
tagslist
titletext
Example output
{
  "author": 1,
  "categories": [
    7
  ],
  "comment_status": "open",
  "content": "<p>Everything that shipped this quarter.</p>",
  "date": "2026-03-14T09:30:00",
  "excerpt": "<p>Everything that shipped this quarter.</p>",
  "featured_media": 0,
  "format": "standard",
  "id": 412,
  "link": "https://example.com/spring-product-update/",
  "modified": "2026-03-14T09:30:00",
  "slug": "spring-product-update",
  "status": "publish",
  "sticky": false,
  "tags": [
    21,
    22
  ],
  "title": "Spring product update (revised)"
}

Update a user

Change a user's email, password, name, website, bio or role. Only the fields you fill in change. Needs an administrator's account.

Inputs

Userwp_user_idtextRequired
The ID of the user to change.
Emailemailtext
Their new email address.
Passwordpasswordtext
A new password for them.
First namefirst_nametext
Their first name.
Last namelast_nametext
Their last name.
Display namenametext
The name shown on the site, such as on their posts.
Nicknamenicknametext
Their nickname.
Websiteurltext
Their website's address.
Biographical infodescriptiontext
A few words about them, shown on some themes' author pages.
Roleroletext
Their new role, which replaces the one they have, such as editor.

Outputs

avatar_urltext
Their profile picture.
descriptiontext
Their biographical info.
emailtext
Their email address.
first_nametext
Their first name.
idnumber
The user's ID.
last_nametext
Their last name.
linktext
Their author page on the site.
nametext
The name shown on the site.
nicknametext
Their nickname.
registered_datetext
When they joined the site.
roleslist
Their roles, such as editor.
slugtext
The short name in their author page's address.
urltext
Their website.
usernametext
The name they sign in with.
Example output
{
  "avatar_url": "https://secure.gravatar.com/avatar/0?s=96",
  "description": "Writes our weekly news.",
  "email": "sam@example.com",
  "first_name": "Sam",
  "id": 7,
  "last_name": "Rivera",
  "link": "https://example.com/author/sam/",
  "name": "Sam Rivera",
  "nickname": "sam",
  "registered_date": "2026-02-01T09:00:00+00:00",
  "roles": [
    "author"
  ],
  "slug": "sam",
  "url": "https://samrivera.example",
  "username": "sam"
}

Upload media

Add an image, video, PDF or other file to your site's Media Library, from a file uploaded here, one from an earlier step, or a link to one. It gives back the file's ID, for a post's featured image, and its address, for a post's text.

Inputs

FilefiletextRequired
The file to upload: one uploaded here, one from an earlier step, or an https link to it. WordPress accepts only the file types the site allows.
Titletitletext
The file's title in the Media Library. Leave empty to use its file name.
Alt textalt_texttext
For an image, a short description read out to people who can't see it.
Captioncaptiontext
The text shown under the file where it's used.

Outputs

alt_texttext
captiontext
datetext
idnumber
linktext
media_typetext
mime_typetext
postnumber
source_urltext
titletext
Example output
{
  "alt_text": "Flowers in a window box",
  "caption": "",
  "date": "2026-03-14T09:30:00",
  "id": 512,
  "link": "https://example.com/spring-banner/",
  "media_type": "image",
  "mime_type": "image/jpeg",
  "post": 0,
  "source_url": "https://example.com/wp-content/uploads/2026/03/spring-banner.jpg",
  "title": "spring-banner"
}

On this page