Skip to content

WordPress - Get Pages

This module allows querying and searching static pages from a WordPress site. Supports filters by publication status and text search.

FieldDescriptionExample
urlWordPress site base URLhttps://my-site.com
usernameWordPress usernameadmin
application_passwordApplication password generated in WordPressxxxx xxxx xxxx xxxx
FieldTypeRequiredDescription
credentials_idcredentialsYesWordPress credential
page_idtextNoSpecific ID. If empty, lists all
searchtextNoSearch term
statusselectNoFilter: publish, draft, any
per_pagenumberNoPages per query (1-100). Default: 10
{
"success": true,
"pages": [
{
"id": 456,
"title": { "rendered": "About Us" },
"content": { "rendered": "<p>Content...</p>" },
"status": "publish",
"link": "https://misitio.com/sobre-nosotros/"
}
],
"total": 12
}
{
"status": "publish",
"per_page": 50
}
{
"search": "contact"
}
{
"page_id": "456"
}
  • Pages include content rendered in HTML
  • The link field contains the public page URL
  • Can be filtered by status: publish, draft, or any (all)
  • WordpressCreatePage - Create a new page
  • WordpressUpdatePost - Update page content
  • WordpressGetMedia - Get images associated with pages