Back to WordPress

Connect Knoon AI with WordPress to automate AI workflows.

Create a new post/page/custom post type item in WordPress.
wordpressXmlRpcDefaultDefaultCreatePost
BETA
Internal
Permissions
There are no items to display.
Optional permissions
There are no items to display.
Parameters
NameTypeDescriptionRequired
postTypemustache Optional collection slug. Defaults to posts.No
titlemustache Post title.Yes
slugmustache Optional post slug.No
htmlmustache HTML post content. Required if markdown is omitted.No
markdownmustache Markdown post content. Converted to HTML when html is omitted.No
excerptmustache Optional post excerpt.No
statusstring Post status. Defaults to DRAFT.No
featuredMediaIdmustache Optional featured media ID.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.