Built-in tool

List WordPress Posts and Pages

List or search the posts and pages of a connected WordPress website, with their status and addresses.

Freeno per-call chargeNo API key needed

Endpoint

Parameters

NameTypeRequiredNote
pagenumber · optionalnumberoptional

The page of results, starting at 1; totalPages says how many there are.

Default: 1

sitestring · optionalstringoptional

Which connected WordPress site, when several are connected: its address (example.com), its name or its account id. Leave out when only one is connected.

slugstring · optionalstringoptional

The exact slug: the last part of the address, for example "pricing".

typestring · optionalstringoptional

post for blog posts and articles (default), page for standing pages such as Pricing or About.

One of: post, page

Default: post

limitnumber · optionalnumberoptional

How many to return, 1 to 50. Defaults to 20.

Default: 20

searchstring · optionalstringoptional

Words to look for in the title and text.

statusstring · optionalstringoptional

publish is live, future is scheduled, draft and pending are not live. any (default) lists every status this WordPress user may see.

One of: any, publish, draft, pending, future, private

Default: any

orderBystring · optionalstringoptional

modified (default) and date list newest first; title is alphabetical.

One of: modified, date, title

Default: modified

Response schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "site",
    "items",
    "total",
    "totalPages",
    "page"
  ],
  "properties": {
    "note": {
      "type": "string"
    },
    "page": {
      "type": "number"
    },
    "site": {
      "type": "object",
      "required": [
        "name",
        "url"
      ],
      "properties": {
        "url": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "type",
          "status",
          "title",
          "slug",
          "url",
          "editUrl",
          "date",
          "modified"
        ],
        "properties": {
          "id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "slug": {
            "type": "string"
          },
          "type": {
            "enum": [
              "post",
              "page"
            ],
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "editUrl": {
            "type": "string"
          },
          "modified": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "total": {
      "type": [
        "number",
        "null"
      ]
    },
    "totalPages": {
      "type": [
        "number",
        "null"
      ]
    }
  },
  "additionalProperties": false
}

Get started

How to use this tool

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, and this tool comes with it. There’s no API key or account to set up.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this tool when the job calls for it, along with any others it needs.

  3. Make it a workflow

    Add it as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether it runs on its own or asks first. When it asks, you see an Allow or Deny card before any credits are spent.