Back to WordPress
Connect Knoon AI with WordPress to automate AI workflows.
Create a new comment.
wordpressXmlRpcDefaultDefaultCreateComment
BETA
Internal
Permissions
There are no items to display.
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| postId | mustache | Target post ID. | Yes |
| content | mustache | Comment content text or HTML. | Yes |
| parentId | mustache | Optional parent comment ID. | No |
| authorName | mustache | Optional author name. | No |
| authorEmail | mustache | Optional author email. | No |
| authorUrl | mustache | Optional author URL. | No |
| status | string | Optional comment status. | No |
Returns
| Name | Type | Description |
|---|---|---|
| commentId | string | WordPress comment ID. |
| postId | string | Related post ID. |
| parentId | string | Parent comment ID. |
| status | string | Comment status. |
| type | string | Comment type. |
| url | string | Comment URL. |
| authorName | string | Author name. |
| authorEmail | string | Author email. |
| authorUrl | string | Author URL. |
| content | string | Rendered comment HTML. |
| createdAt | string | Comment datetime. |