Skip to content

WordPress - Create Page

This module allows creating static pages on a WordPress site. Pages are non-chronological content, ideal for sections like “About Us”, “Contact”, policies, etc. Supports page hierarchy through the parent field.

FieldDescriptionExample
urlWordPress site base URLhttps://my-site.com
usernameWordPress usernameadmin
application_passwordApplication password generated in WordPressxxxx xxxx xxxx xxxx
FieldTypeRequiredDescription
credentials_idcredentialsYesWordPress credential
titletextYesPage title
contenttextareaYesHTML content
statusselectNoStatus: draft, publish, private. Default: draft
parenttextNoParent page ID (for hierarchy). Empty = root
slugtextNoSEO-friendly URL. If empty, generated from title
featured_mediatextNoFeatured image ID
{
"success": true,
"page_id": 456,
"page_url": "https://misitio.com/mi-pagina/",
"page": { "id": 456, "title": { "rendered": "Mi Pagina" }, "status": "publish" },
"message": "Page \"Mi Pagina\" created (publish)"
}
{
"title": "About Us",
"content": "<h2>Our Story</h2><p>We are a company dedicated to...</p>",
"status": "draft"
}
{
"title": "Privacy Policy",
"content": "<p>In compliance with current regulations...</p>",
"status": "publish",
"parent": "10",
"slug": "privacy-policy"
}
  • By default pages are created as draft
  • The parent field allows creating page hierarchies (subpages)
  • The slug is automatically generated from the title if not specified
  • The featured image requires a media ID previously uploaded with WordpressUploadMedia
  • WordpressGetPages - Get existing pages
  • WordpressUpdatePost - Update page content
  • WordpressUploadMedia - Upload featured image for the page