GET /wp-json/wp/v2/posts

List Posts

contextScope under which the request is made; determines fields present in response.
Default: view
One of: view, embed, edit
pageCurrent page of 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 posts published after a given ISO8601 compliant date.
authorLimit result set to posts assigned to specific authors.
author_excludeEnsure result set excludes posts assigned to specific authors.
beforeLimit response to posts published before a given ISO8601 compliant date.
excludeEnsure result set excludes specific IDs.
includeLimit result set to specific IDs.
orderOrder sort attribute ascending or descending.
Default: desc
One of: asc, desc
orderbySort collection by object attribute.
Default: date
One of: author, date, id, include, modified, parent, relevance, slug, include_slugs, title
slugLimit result set to posts with one or more specific slugs.
statusLimit result set to posts assigned one or more statuses.
Default: publish
categoriesLimit result set to all items that have the specified term assigned in the categories taxonomy.
categories_excludeLimit result set to all items except those that have the specified term assigned in the categories taxonomy.
tagsLimit result set to all items that have the specified term assigned in the tags taxonomy.
tags_excludeLimit result set to all items except those that have the specified term assigned in the tags taxonomy.
stickyLimit result set to items that are sticky.

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.