WordPress
Manage WordPress content
Integrate with WordPress to create, update, and manage posts, pages, media, comments, categories, tags, and users. Supports WordPress.com sites via OAuth and self-hosted WordPress sites using Application Passwords authentication.
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
title | string | Yes | No description |
content | string | No | No description |
status | string | No | No description |
excerpt | string | No | No description |
categories | string | No | No description |
tags | string | No | No description |
featuredMedia | number | No | No description |
slug | string | No | No description |
| Parameter | Type | Description |
|---|
post | object | The created post |
↳ id | number | Post ID |
↳ date | string | Post creation date |
↳ modified | string | Post modification date |
↳ slug | string | Post slug |
↳ status | string | Post status |
↳ type | string | Post type |
↳ link | string | Post URL |
↳ title | object | Post title object |
↳ content | object | Post content object |
↳ excerpt | object | Post excerpt object |
↳ author | number | Author ID |
↳ featured_media | number | Featured media ID |
↳ categories | array | Category IDs |
↳ tags | array | Tag IDs |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
postId | number | Yes | No description |
title | string | No | No description |
content | string | No | No description |
status | string | No | No description |
excerpt | string | No | No description |
categories | string | No | No description |
tags | string | No | No description |
featuredMedia | number | No | No description |
slug | string | No | No description |
| Parameter | Type | Description |
|---|
post | object | The updated post |
↳ id | number | Post ID |
↳ date | string | Post creation date |
↳ modified | string | Post modification date |
↳ slug | string | Post slug |
↳ status | string | Post status |
↳ type | string | Post type |
↳ link | string | Post URL |
↳ title | object | Post title object |
↳ content | object | Post content object |
↳ excerpt | object | Post excerpt object |
↳ author | number | Author ID |
↳ featured_media | number | Featured media ID |
↳ categories | array | Category IDs |
↳ tags | array | Tag IDs |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
postId | number | Yes | No description |
force | boolean | No | No description |
| Parameter | Type | Description |
|---|
deleted | boolean | Whether the post was deleted |
post | object | The deleted post |
↳ id | number | Post ID |
↳ date | string | Post creation date |
↳ modified | string | Post modification date |
↳ slug | string | Post slug |
↳ status | string | Post status |
↳ type | string | Post type |
↳ link | string | Post URL |
↳ title | object | Post title object |
↳ content | object | Post content object |
↳ excerpt | object | Post excerpt object |
↳ author | number | Author ID |
↳ featured_media | number | Featured media ID |
↳ categories | array | Category IDs |
↳ tags | array | Tag IDs |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
postId | number | Yes | No description |
| Parameter | Type | Description |
|---|
post | object | The retrieved post |
↳ id | number | Post ID |
↳ date | string | Post creation date |
↳ modified | string | Post modification date |
↳ slug | string | Post slug |
↳ status | string | Post status |
↳ type | string | Post type |
↳ link | string | Post URL |
↳ title | object | Post title object |
↳ content | object | Post content object |
↳ excerpt | object | Post excerpt object |
↳ author | number | Author ID |
↳ featured_media | number | Featured media ID |
↳ categories | array | Category IDs |
↳ tags | array | Tag IDs |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
perPage | number | No | No description |
page | number | No | No description |
status | string | No | No description |
author | number | No | No description |
categories | string | No | Comma-separated category IDs to filter by (e.g., "1,2,3") |
tags | string | No | Comma-separated tag IDs to filter by (e.g., "5,10,15") |
search | string | No | Search term to filter posts (e.g., "tutorial", "announcement") |
orderBy | string | No | No description |
order | string | No | No description |
| Parameter | Type | Description |
|---|
posts | array | List of posts |
↳ id | number | Post ID |
↳ date | string | Post creation date |
↳ modified | string | Post modification date |
↳ slug | string | Post slug |
↳ status | string | Post status |
↳ type | string | Post type |
↳ link | string | Post URL |
↳ title | object | Post title object |
↳ content | object | Post content object |
↳ excerpt | object | Post excerpt object |
↳ author | number | Author ID |
↳ featured_media | number | Featured media ID |
↳ categories | array | Category IDs |
↳ tags | array | Tag IDs |
total | number | Total number of posts |
totalPages | number | Total number of pages |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
title | string | Yes | No description |
content | string | No | No description |
status | string | No | No description |
excerpt | string | No | No description |
parent | number | No | No description |
menuOrder | number | No | No description |
featuredMedia | number | No | No description |
slug | string | No | No description |
| Parameter | Type | Description |
|---|
page | object | The created page |
↳ id | number | Page ID |
↳ date | string | Page creation date |
↳ modified | string | Page modification date |
↳ slug | string | Page slug |
↳ status | string | Page status |
↳ type | string | Content type |
↳ link | string | Page URL |
↳ title | object | Page title object |
↳ content | object | Page content object |
↳ excerpt | object | Page excerpt object |
↳ author | number | Author ID |
↳ featured_media | number | Featured media ID |
↳ parent | number | Parent page ID |
↳ menu_order | number | Menu order |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
pageId | number | Yes | No description |
title | string | No | No description |
content | string | No | No description |
status | string | No | No description |
excerpt | string | No | No description |
parent | number | No | No description |
menuOrder | number | No | No description |
featuredMedia | number | No | No description |
slug | string | No | No description |
| Parameter | Type | Description |
|---|
page | object | The updated page |
↳ id | number | Page ID |
↳ date | string | Page creation date |
↳ modified | string | Page modification date |
↳ slug | string | Page slug |
↳ status | string | Page status |
↳ type | string | Content type |
↳ link | string | Page URL |
↳ title | object | Page title object |
↳ content | object | Page content object |
↳ excerpt | object | Page excerpt object |
↳ author | number | Author ID |
↳ featured_media | number | Featured media ID |
↳ parent | number | Parent page ID |
↳ menu_order | number | Menu order |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
pageId | number | Yes | No description |
force | boolean | No | No description |
| Parameter | Type | Description |
|---|
deleted | boolean | Whether the page was deleted |
page | object | The deleted page |
↳ id | number | Page ID |
↳ date | string | Page creation date |
↳ modified | string | Page modification date |
↳ slug | string | Page slug |
↳ status | string | Page status |
↳ type | string | Content type |
↳ link | string | Page URL |
↳ title | object | Page title object |
↳ content | object | Page content object |
↳ excerpt | object | Page excerpt object |
↳ author | number | Author ID |
↳ featured_media | number | Featured media ID |
↳ parent | number | Parent page ID |
↳ menu_order | number | Menu order |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
pageId | number | Yes | No description |
| Parameter | Type | Description |
|---|
page | object | The retrieved page |
↳ id | number | Page ID |
↳ date | string | Page creation date |
↳ modified | string | Page modification date |
↳ slug | string | Page slug |
↳ status | string | Page status |
↳ type | string | Content type |
↳ link | string | Page URL |
↳ title | object | Page title object |
↳ content | object | Page content object |
↳ excerpt | object | Page excerpt object |
↳ author | number | Author ID |
↳ featured_media | number | Featured media ID |
↳ parent | number | Parent page ID |
↳ menu_order | number | Menu order |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
perPage | number | No | No description |
page | number | No | No description |
status | string | No | No description |
parent | number | No | No description |
search | string | No | Search term to filter pages (e.g., "about", "contact") |
orderBy | string | No | No description |
order | string | No | No description |
| Parameter | Type | Description |
|---|
pages | array | List of pages |
↳ id | number | Page ID |
↳ date | string | Page creation date |
↳ modified | string | Page modification date |
↳ slug | string | Page slug |
↳ status | string | Page status |
↳ type | string | Content type |
↳ link | string | Page URL |
↳ title | object | Page title object |
↳ content | object | Page content object |
↳ excerpt | object | Page excerpt object |
↳ author | number | Author ID |
↳ featured_media | number | Featured media ID |
↳ parent | number | Parent page ID |
↳ menu_order | number | Menu order |
total | number | Total number of pages |
totalPages | number | Total number of result pages |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
file | file | No | No description |
filename | string | No | No description |
title | string | No | No description |
caption | string | No | No description |
altText | string | No | No description |
description | string | No | No description |
| Parameter | Type | Description |
|---|
media | object | The uploaded media item |
↳ id | number | Media ID |
↳ date | string | Upload date |
↳ slug | string | Media slug |
↳ type | string | Content type |
↳ link | string | Media page URL |
↳ title | object | Media title object |
↳ caption | object | Media caption object |
↳ alt_text | string | Alt text |
↳ media_type | string | Media type (image, video, etc.) |
↳ mime_type | string | MIME type |
↳ source_url | string | Direct URL to the media file |
↳ media_details | object | Media details (dimensions, etc.) |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
mediaId | number | Yes | No description |
| Parameter | Type | Description |
|---|
media | object | The retrieved media item |
↳ id | number | Media ID |
↳ date | string | Upload date |
↳ slug | string | Media slug |
↳ type | string | Content type |
↳ link | string | Media page URL |
↳ title | object | Media title object |
↳ caption | object | Media caption object |
↳ alt_text | string | Alt text |
↳ media_type | string | Media type (image, video, etc.) |
↳ mime_type | string | MIME type |
↳ source_url | string | Direct URL to the media file |
↳ media_details | object | Media details (dimensions, etc.) |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
perPage | number | No | No description |
page | number | No | No description |
search | string | No | Search term to filter media (e.g., "logo", "banner") |
mediaType | string | No | No description |
mimeType | string | No | No description |
orderBy | string | No | No description |
order | string | No | No description |
| Parameter | Type | Description |
|---|
media | array | List of media items |
↳ id | number | Media ID |
↳ date | string | Upload date |
↳ slug | string | Media slug |
↳ type | string | Content type |
↳ link | string | Media page URL |
↳ title | object | Media title object |
↳ caption | object | Media caption object |
↳ alt_text | string | Alt text |
↳ media_type | string | Media type (image, video, etc.) |
↳ mime_type | string | MIME type |
↳ source_url | string | Direct URL to the media file |
↳ media_details | object | Media details (dimensions, etc.) |
total | number | Total number of media items |
totalPages | number | Total number of result pages |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
mediaId | number | Yes | No description |
force | boolean | No | No description |
| Parameter | Type | Description |
|---|
deleted | boolean | Whether the media was deleted |
media | object | The deleted media item |
↳ id | number | Media ID |
↳ date | string | Upload date |
↳ slug | string | Media slug |
↳ type | string | Content type |
↳ link | string | Media page URL |
↳ title | object | Media title object |
↳ caption | object | Media caption object |
↳ alt_text | string | Alt text |
↳ media_type | string | Media type (image, video, etc.) |
↳ mime_type | string | MIME type |
↳ source_url | string | Direct URL to the media file |
↳ media_details | object | Media details (dimensions, etc.) |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
postId | number | Yes | No description |
content | string | Yes | No description |
parent | number | No | No description |
authorName | string | No | No description |
authorEmail | string | No | No description |
authorUrl | string | No | No description |
| Parameter | Type | Description |
|---|
comment | object | The created comment |
↳ id | number | Comment ID |
↳ post | number | Post ID |
↳ parent | number | Parent comment ID |
↳ author | number | Author user ID |
↳ author_name | string | Author display name |
↳ author_email | string | Author email |
↳ author_url | string | Author URL |
↳ date | string | Comment date |
↳ content | object | Comment content object |
↳ link | string | Comment permalink |
↳ status | string | Comment status |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
perPage | number | No | No description |
page | number | No | No description |
postId | number | No | No description |
status | string | No | No description |
search | string | No | Search term to filter comments (e.g., "question", "feedback") |
orderBy | string | No | No description |
order | string | No | No description |
| Parameter | Type | Description |
|---|
comments | array | List of comments |
↳ id | number | Comment ID |
↳ post | number | Post ID |
↳ parent | number | Parent comment ID |
↳ author | number | Author user ID |
↳ author_name | string | Author display name |
↳ author_email | string | Author email |
↳ author_url | string | Author URL |
↳ date | string | Comment date |
↳ content | object | Comment content object |
↳ link | string | Comment permalink |
↳ status | string | Comment status |
total | number | Total number of comments |
totalPages | number | Total number of result pages |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
commentId | number | Yes | No description |
content | string | No | No description |
status | string | No | No description |
| Parameter | Type | Description |
|---|
comment | object | The updated comment |
↳ id | number | Comment ID |
↳ post | number | Post ID |
↳ parent | number | Parent comment ID |
↳ author | number | Author user ID |
↳ author_name | string | Author display name |
↳ author_email | string | Author email |
↳ author_url | string | Author URL |
↳ date | string | Comment date |
↳ content | object | Comment content object |
↳ link | string | Comment permalink |
↳ status | string | Comment status |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
commentId | number | Yes | No description |
force | boolean | No | No description |
| Parameter | Type | Description |
|---|
deleted | boolean | Whether the comment was deleted |
comment | object | The deleted comment |
↳ id | number | Comment ID |
↳ post | number | Post ID |
↳ parent | number | Parent comment ID |
↳ author | number | Author user ID |
↳ author_name | string | Author display name |
↳ author_email | string | Author email |
↳ author_url | string | Author URL |
↳ date | string | Comment date |
↳ content | object | Comment content object |
↳ link | string | Comment permalink |
↳ status | string | Comment status |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
name | string | Yes | No description |
description | string | No | No description |
parent | number | No | No description |
slug | string | No | No description |
| Parameter | Type | Description |
|---|
category | object | The created category |
↳ id | number | Category ID |
↳ count | number | Number of posts in this category |
↳ description | string | description output from the tool |
↳ link | string | Category archive URL |
↳ name | string | name output from the tool |
↳ slug | string | Category slug |
↳ taxonomy | string | Taxonomy name |
↳ parent | number | Parent category ID |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
perPage | number | No | No description |
page | number | No | No description |
search | string | No | Search term to filter categories (e.g., "news", "technology") |
order | string | No | No description |
| Parameter | Type | Description |
|---|
categories | array | List of categories |
↳ id | number | Category ID |
↳ count | number | Number of posts in this category |
↳ description | string | Category description |
↳ link | string | Category archive URL |
↳ name | string | Category name |
↳ slug | string | Category slug |
↳ taxonomy | string | Taxonomy name |
↳ parent | number | Parent category ID |
total | number | Total number of categories |
totalPages | number | Total number of result pages |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
name | string | Yes | No description |
description | string | No | No description |
slug | string | No | No description |
| Parameter | Type | Description |
|---|
tag | object | The created tag |
↳ id | number | Tag ID |
↳ count | number | Number of posts with this tag |
↳ description | string | description output from the tool |
↳ link | string | Tag archive URL |
↳ name | string | name output from the tool |
↳ slug | string | Tag slug |
↳ taxonomy | string | Taxonomy name |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
perPage | number | No | No description |
page | number | No | No description |
search | string | No | Search term to filter tags (e.g., "javascript", "tutorial") |
order | string | No | No description |
| Parameter | Type | Description |
|---|
tags | array | List of tags |
↳ id | number | Tag ID |
↳ count | number | Number of posts with this tag |
↳ description | string | Tag description |
↳ link | string | Tag archive URL |
↳ name | string | Tag name |
↳ slug | string | Tag slug |
↳ taxonomy | string | Taxonomy name |
total | number | Total number of tags |
totalPages | number | Total number of result pages |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
| Parameter | Type | Description |
|---|
user | object | The current user |
↳ id | number | User ID |
↳ username | string | Username |
↳ name | string | Display name |
↳ first_name | string | First name |
↳ last_name | string | Last name |
↳ email | string | Email address |
↳ url | string | User website URL |
↳ description | string | User bio |
↳ link | string | Author archive URL |
↳ slug | string | User slug |
↳ roles | array | User roles |
↳ avatar_urls | object | Avatar URLs at different sizes |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
perPage | number | No | No description |
page | number | No | No description |
search | string | No | Search term to filter users (e.g., "john", "admin") |
roles | string | No | Comma-separated role names to filter by (e.g., "administrator,editor") |
order | string | No | No description |
| Parameter | Type | Description |
|---|
users | array | List of users |
↳ id | number | User ID |
↳ username | string | Username |
↳ name | string | Display name |
↳ first_name | string | First name |
↳ last_name | string | Last name |
↳ email | string | Email address |
↳ url | string | User website URL |
↳ description | string | User bio |
↳ link | string | Author archive URL |
↳ slug | string | User slug |
↳ roles | array | User roles |
↳ avatar_urls | object | Avatar URLs at different sizes |
total | number | Total number of users |
totalPages | number | Total number of result pages |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
userId | number | Yes | No description |
| Parameter | Type | Description |
|---|
user | object | The retrieved user |
↳ id | number | User ID |
↳ username | string | Username |
↳ name | string | Display name |
↳ first_name | string | First name |
↳ last_name | string | Last name |
↳ email | string | Email address |
↳ url | string | User website URL |
↳ description | string | User bio |
↳ link | string | Author archive URL |
↳ slug | string | User slug |
↳ roles | array | User roles |
↳ avatar_urls | object | Avatar URLs at different sizes |
| Parameter | Type | Required | Description |
|---|
siteId | string | Yes | No description |
query | string | Yes | No description |
perPage | number | No | No description |
page | number | No | No description |
type | string | No | No description |
subtype | string | No | No description |
| Parameter | Type | Description |
|---|
results | array | Search results |
↳ id | number | Content ID |
↳ title | string | Content title |
↳ url | string | Content URL |
↳ type | string | Content type (post, page, attachment) |
↳ subtype | string | Post type slug |
total | number | Total number of results |
totalPages | number | Total number of result pages |