Back to WordPress
Connect Knoon AI with WordPress to automate AI workflows.
List posts/pages/custom post types from WordPress.
wordpressXmlRpcDefaultDefaultListPosts
BETA
Permissions
There are no items to display.
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. Example: posts, pages, products. | No |
| search | mustache | Optional search term for title/content. | No |
| status | string | Post status filter. Defaults to PUBLISH. | No |
| limit | mustache | Optional number of rows (1-100). Defaults to 10. | No |
| page | mustache | Optional page number. Defaults to 1. | No |
Returns
| Name | Type | Description |
|---|---|---|
| postId | string | WordPress post ID. |
| slug | string | Post slug. |
| status | string | Post status. |
| url | string | Post permalink. |
| title | string | Rendered post title. |
| excerpt | string | Rendered post excerpt HTML. |
| content | string | Rendered post content HTML. |
| featuredMediaId | string | Featured media ID if set. |
| createdAt | string | Post created datetime. |
| updatedAt | string | Post last modified datetime. |