Back to WordPress
Connect Knoon AI with WordPress to automate AI workflows.
List comments with optional filters.
wordpressXmlRpcDefaultDefaultGetComments
BETA
Permissions
There are no items to display.
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| postId | mustache | Optional post ID filter. | No |
| search | mustache | Optional search query. | No |
| status | string | Optional comment status filter. | No |
| order | string | Sort order. Defaults to DESC. | No |
| orderBy | string | Order by field. Defaults to DATE. | No |
| limit | mustache | Rows per page (1-100). Defaults to 20. | No |
| page | mustache | Page number. Defaults to 1. | 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. |