GET /wp-json/wp/v2/comments

contextScope under which the request is made; determines fields present in response.
Default: view
One of: view, embed, edit
pageCurrent page of the collection.
Default: 1
per_pageMaximum number of items to be returned in result set.
Default: 10
searchLimit results to those matching a string.
afterLimit response to comments published after a given ISO8601 compliant date.
authorLimit result set to comments assigned to specific user IDs. Requires authorization.
author_excludeEnsure result set excludes comments assigned to specific user IDs. Requires authorization.
author_emailLimit result set to that from specific author email. Requires authorization.
beforeLimit response to comments published before a given ISO8601 compliant date.
excludeEnsure result set excludes specific IDs.
includeLimit result set to specific IDs.
offsetOffset the result set by a specific number of items.
orderOrder sort attribute ascending or descending.
Default: desc
One of: asc, desc
orderbySort collection by object attribute.
Default:** date_gmt**
One of: date, date_gmt, id, include, post, parent, type
parentLimit result set to comments of specific parent IDs.
parent_excludeEnsure result set excludes specific parent IDs.
postLimit result set to comments assigned to specific post IDs.
statusLimit result set to comments assigned a specific status. Requires authorization.
Default: approve
typeLimit result set to comments assigned a specific type. Requires authorization.
Default: comment
passwordThe password for the post if it is password protected.

Servers

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.