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
NameTypeDescriptionRequired
postTypemustache Optional collection slug. Defaults to posts. Example: posts, pages, products.No
searchmustache Optional search term for title/content.No
statusstring Post status filter. Defaults to PUBLISH.No
limitmustache Optional number of rows (1-100). Defaults to 10.No
pagemustache Optional page number. Defaults to 1.No
Returns
NameTypeDescription
postIdstring WordPress post ID.
slugstring Post slug.
statusstring Post status.
urlstring Post permalink.
titlestring Rendered post title.
excerptstring Rendered post excerpt HTML.
contentstring Rendered post content HTML.
featuredMediaIdstring Featured media ID if set.
createdAtstring Post created datetime.
updatedAtstring Post last modified datetime.