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
| Action | What it does |
|---|---|
| Comment on a post | Leave a comment on a post. |
| Create a category | Add a category to the site. |
| Create a page | Create a new page. |
| Create a post | Write a new post on your site. |
| Create a tag | Add a tag to the site so posts can be filed under it. |
| Create a user | Give someone an account on your site, with a role such as subscriber or editor. |
| Delete a category | Delete a category. |
| Delete a comment | Move a comment to the trash, or delete it for good. |
| Delete a page | Move a page to the trash, or delete it for good. |
| Delete a post | Move a post to the trash, or delete it for good. |
| Delete a tag | Delete a tag. |
| Delete a user | Delete a user's account for good. |
| Delete media | Delete a file from your site's Media Library. |
| Find categories | List or search the site's categories, or find the categories on one post. |
| Find comments | List comments across the site or on one post. |
| Find pages | List or search pages. |
| Find posts | List or search posts. |
| Find tags | List or search the site's tags, or find the tags on one post. |
| Find users | List or search the people who have an account on your site, with their email and role. |
| Get a page | Get one page, including its full content. |
| Get a post | Get one post, including its full content. |
| Get a user | Get one user's details: their username, name, email and role. |
| Moderate a comment | Approve a comment, hold it for moderation, mark it as spam or move it to the trash, or change its text. |
| Update a page | Change an existing page. |
| Update a post | Change an existing post. |
| Update a user | Change a user's email, password, name, website, bio or role. |
| 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. |
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
- Post
post_idtextRequired - The post to comment on.
- Comment
contenttextRequired - The comment text. WordPress rejects a second comment with the same author and exactly the same text.
- Author name
author_nametext - Who the comment is from. Leave empty to comment as the account you connected.
- Author email
author_emailtext - The comment author's email address.
- Author website
author_urltext - A website to link the author's name to.
- Reply to
parent_comment_idtext - The comment this one replies to. Leave empty for a top-level comment.
- Status
statustext - 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_emailtextauthor_nametextauthor_urltextcontenttextdatetextidnumberlinktextparentnumberpostnumberstatustext
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
- Name
nametextRequired - The category name, for example 'Product'.
- Description
descriptiontext - A description, shown by some themes.
- Slug
slugtext - The URL segment for the category. Leave empty to derive one from the name.
- Parent category
parent_category_idtext - The category to put this one under. Leave empty for a top-level category.
Outputs
countnumberdescriptiontextidnumberlinktextnametextparentnumberslugtexttaxonomytext
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
- Title
titletextRequired - The page title, for example 'About us'.
- Content
contenttextRequired - The body of the page. HTML is allowed.
- Status
statustext - Whether to publish the page. Leave empty to save a draft.One of:
publish(Published),future(Scheduled),draft,pending(Pending review),private. - Excerpt
excerpttext - A short summary, used by some themes.
- Slug
slugtext - The URL segment for the page. Leave empty to derive one from the title.
- Parent page
parent_page_idtext - The page to put this one under. Leave empty for a top-level page.
- Menu order
menu_ordernumber - Where the page sits among its siblings. Lower numbers come first.
- Publish date
publish_datedate and time - When the page should be dated.
- Comment status
comment_statustext - Whether readers may comment on the page.One of:
open,closed.
Outputs
authornumbercomment_statustextcontenttextdatetextexcerpttextidnumberlinktextmenu_ordernumbermodifiedtextparentnumberslugtextstatustexttitletext
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
- Title
titletextRequired - The post title, for example 'Our spring update'.
- Content
contenttextRequired - The body of the post. HTML is allowed.
- Status
statustext - Whether to publish the post. Leave empty to save a draft.One of:
publish(Published),future(Scheduled),draft,pending(Pending review),private. - Excerpt
excerpttext - A short summary shown in post listings.
- Slug
slugtext - The URL segment for the post. Leave empty to let WordPress derive one from the title.
- Categories
categorieslist - The categories to file the post under.
- Tags
tagslist - The tags to put on the post.
- Publish date
publish_datedate and time - When the post should be dated. Set a future date with the Scheduled status to schedule it.
- Comment status
comment_statustext - Whether readers may comment on the post.One of:
open,closed. - Post format
post_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 page
stickytrue/false - Whether to keep the post at the top of the blog.
- Featured image
featured_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
authornumbercategorieslistcomment_statustextcontenttextdatetextexcerpttextfeatured_medianumberformattextidnumberlinktextmodifiedtextslugtextstatustextstickytrue/falsetagslisttitletext
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
- Name
nametextRequired - The tag name, for example 'changelog'.
- Description
descriptiontext - A description, shown by some themes.
- Slug
slugtext - The URL segment for the tag. Leave empty to derive one from the name.
Outputs
countnumberdescriptiontextidnumberlinktextnametextparentnumberslugtexttaxonomytext
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
- Username
usernametextRequired - The name they'll sign in with. It can't be changed later.
- Email
emailtextRequired - Their email address. No two users can share one.
- Password
passwordtextRequired - Their password. They can change it, or reset it from the sign-in page.
- First name
first_nametext - Their first name.
- Last name
last_nametext - Their last name.
- Display name
nametext - The name shown on the site, such as on their posts.
- Nickname
nicknametext - Their nickname.
- Website
urltext - Their website's address.
- Biographical info
descriptiontext - A few words about them, shown on some themes' author pages.
- Role
roletext - 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
- Category
category_idtextRequired - The category to delete.
Outputs
countnumberdescriptiontextidnumberlinktextnametextparentnumberslugtexttaxonomytext
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
- Comment
comment_idtextRequired - The comment to delete.
- Delete permanently
permanentlytrue/false - Turn this on to skip the trash and delete the comment for good.
Outputs
author_emailtextauthor_nametextauthor_urltextcontenttextdatetextidnumberlinktextparentnumberpostnumberstatustext
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
- Page
page_idtextRequired - The page to delete.
- Delete permanently
permanentlytrue/false - Turn this on to skip the trash and delete the page for good.
Outputs
authornumbercomment_statustextcontenttextdatetextexcerpttextidnumberlinktextmenu_ordernumbermodifiedtextparentnumberslugtextstatustexttitletext
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
- Post
post_idtextRequired - The post to delete.
- Delete permanently
permanentlytrue/false - Turn this on to skip the trash and delete the post for good.
Outputs
authornumbercategorieslistcomment_statustextcontenttextdatetextexcerpttextfeatured_medianumberformattextidnumberlinktextmodifiedtextslugtextstatustextstickytrue/falsetagslisttitletext
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
- Tag
tag_idtextRequired - The tag to delete.
Outputs
countnumberdescriptiontextidnumberlinktextnametextparentnumberslugtexttaxonomytext
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
- User
wp_user_idtextRequired - The ID of the user to delete.
- Give their content to
reassign_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
- File
media_idtextRequired - The ID of the file to delete, from an Upload media step or the New media trigger.
Outputs
alt_texttextcaptiontextdatetextidnumberlinktextmedia_typetextmime_typetextpostnumbersource_urltexttitletext
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
- Search
searchtext - Only return categories matching this text.
- Parent category
parent_category_idtext - Only return categories directly under this one. Enter 0 for top-level categories only.
- Post
post_idtext - Only return the categories on this post.
- Hide unused categories
hide_emptytrue/false - Turn this on to leave out categories with no published posts.
- Sort direction
ordertext - Whether to sort ascending or descending.One of:
asc(Ascending),desc(Descending). - Sort by
order_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 many
per_pagenumber - How many to return at most, up to 100. Defaults to 10.From 1 to 100.
- Next page
pagenumber - 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.
- Slug
slugtext - Only return the category with this exact slug.
Outputs
countnumberitemslist
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
- Post
post_idtext - Only return comments on this post.
- Search
searchtext - Only return comments matching this text.
- Status
statustext - Which comments to return. Defaults to approved comments only.One of:
approve(Approved),hold(Awaiting moderation),spam,trash(Trashed),all(All statuses). - Author email
author_emailtext - Only return comments left by this email address.
- Replies to
parent_comment_idtext - Only return replies to this comment. Enter 0 for top-level comments only.
- Posted after
published_afterdate and time - Only return comments left after this moment.
- Posted before
published_beforedate and time - Only return comments left before this moment.
- Sort direction
ordertext - Whether to sort ascending or descending.One of:
asc(Ascending),desc(Descending). - Sort by
order_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 many
per_pagenumber - How many to return at most, up to 100. Defaults to 10.From 1 to 100.
- Next page
pagenumber - 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
countnumberitemslist
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
- Search
searchtext - Only return pages matching this text.
- Statuses
statuslist - 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 page
parent_page_idtext - Only return pages directly under this one. Enter 0 for top-level pages only.
- Sort direction
ordertext - Whether to sort ascending or descending.One of:
asc(Ascending),desc(Descending). - Sort by
order_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 many
per_pagenumber - How many to return at most, up to 100. Defaults to 10.From 1 to 100.
- Next page
pagenumber - 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.
- Slug
slugtext - Only return the page with this exact slug.
Outputs
countnumberitemslist
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
- Search
searchtext - Only return posts matching this text.
- Statuses
statuslist - Only return posts with these statuses. Defaults to published posts only.One or more of:
publish(Published),future(Scheduled),draft,pending(Pending review),private. - Categories
categorieslist - Only return posts in these categories.
- Tags
tagslist - Only return posts with these tags.
- Author
author_idtext - Only return posts written by this person.
- Published after
published_afterdate and time - Only return posts dated after this moment.
- Published before
published_beforedate and time - Only return posts dated before this moment.
- Sort direction
ordertext - Whether to sort ascending or descending.One of:
asc(Ascending),desc(Descending). - Sort by
order_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 many
per_pagenumber - How many to return at most, up to 100. Defaults to 10.From 1 to 100.
- Next page
pagenumber - 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.
- Slug
slugtext - Only return the post with this exact slug.
Outputs
countnumberitemslist
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
- Search
searchtext - Only return tags matching this text.
- Post
post_idtext - Only return the tags on this post.
- Hide unused tags
hide_emptytrue/false - Turn this on to leave out tags with no published posts.
- Sort direction
ordertext - Whether to sort ascending or descending.One of:
asc(Ascending),desc(Descending). - Sort by
order_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 many
per_pagenumber - How many to return at most, up to 100. Defaults to 10.From 1 to 100.
- Next page
pagenumber - 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.
- Slug
slugtext - Only return the tag with this exact slug.
Outputs
countnumberitemslist
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
- Search
searchtext - Only return users whose name, username, email or website matches this text.
- Role
roletext - Only return users with this role, such as editor.
- Sort direction
ordertext - Whether to sort ascending or descending.One of:
asc(Ascending),desc(Descending). - Sort by
order_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 many
per_pagenumber - How many to return at most, up to 100. Defaults to 10.From 1 to 100.
- Next page
pagenumber - 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
- Page
page_idtextRequired - The page to get.
Outputs
authornumbercomment_statustextcontenttextdatetextexcerpttextidnumberlinktextmenu_ordernumbermodifiedtextparentnumberslugtextstatustexttitletext
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
- Post
post_idtextRequired - The post to get.
Outputs
authornumbercategorieslistcomment_statustextcontenttextdatetextexcerpttextfeatured_medianumberformattextidnumberlinktextmodifiedtextslugtextstatustextstickytrue/falsetagslisttitletext
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
- User
wp_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
- Comment
comment_idtextRequired - The comment to change.
- Comment
contenttext - New text for the comment.
- Moderation
statustext - 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 name
author_nametext - A corrected name for the comment's author.
- Author email
author_emailtext - A corrected email address for the author.
Outputs
author_emailtextauthor_nametextauthor_urltextcontenttextdatetextidnumberlinktextparentnumberpostnumberstatustext
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
- Page
page_idtextRequired - The page to change.
- Title
titletext - A new title for the page.
- Content
contenttext - New body content. HTML is allowed.
- Status
statustext - A new status for the page.One of:
publish(Published),future(Scheduled),draft,pending(Pending review),private. - Excerpt
excerpttext - A new short summary for the page.
- Slug
slugtext - A new URL segment. Changing this changes the page's public address.
- Parent page
parent_page_idtext - The page to put this one under. Enter 0 to move it back to the top level.
- Menu order
menu_ordernumber - Where the page sits among its siblings. Lower numbers come first.
Outputs
authornumbercomment_statustextcontenttextdatetextexcerpttextidnumberlinktextmenu_ordernumbermodifiedtextparentnumberslugtextstatustexttitletext
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
- Post
post_idtextRequired - The post to change.
- Title
titletext - A new title for the post.
- Content
contenttext - New body content. HTML is allowed.
- Status
statustext - A new status. Set this to Published to publish a draft.One of:
publish(Published),future(Scheduled),draft,pending(Pending review),private. - Excerpt
excerpttext - A new short summary for the post.
- Slug
slugtext - A new URL segment. Changing this changes the post's public address.
- Categories
categorieslist - The categories the post should have. This replaces its current categories rather than adding to them.
- Tags
tagslist - The tags the post should have. This replaces its current tags rather than adding to them.
- Comment status
comment_statustext - Whether readers may comment on the post.One of:
open,closed. - Post format
post_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 page
stickytrue/false - Whether to keep the post at the top of the blog.
- Featured image
featured_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
authornumbercategorieslistcomment_statustextcontenttextdatetextexcerpttextfeatured_medianumberformattextidnumberlinktextmodifiedtextslugtextstatustextstickytrue/falsetagslisttitletext
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
- User
wp_user_idtextRequired - The ID of the user to change.
- Email
emailtext - Their new email address.
- Password
passwordtext - A new password for them.
- First name
first_nametext - Their first name.
- Last name
last_nametext - Their last name.
- Display name
nametext - The name shown on the site, such as on their posts.
- Nickname
nicknametext - Their nickname.
- Website
urltext - Their website's address.
- Biographical info
descriptiontext - A few words about them, shown on some themes' author pages.
- Role
roletext - 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
- File
filetextRequired - 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.
- Title
titletext - The file's title in the Media Library. Leave empty to use its file name.
- Alt text
alt_texttext - For an image, a short description read out to people who can't see it.
- Caption
captiontext - The text shown under the file where it's used.
Outputs
alt_texttextcaptiontextdatetextidnumberlinktextmedia_typetextmime_typetextpostnumbersource_urltexttitletext
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"
}