PageInput is a JSON Structure definition published by WordPress, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/wordpress/refs/heads/main/json-structure/wordpress-page-input-structure.json",
"name": "PageInput",
"description": "Input schema for creating or updating a page",
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title for the page",
"example": "New Page"
},
"content": {
"type": "string",
"description": "The content for the page",
"example": "Page content goes here."
},
"status": {
"type": "string",
"enum": [
"publish",
"draft",
"private"
],
"example": "publish"
},
"parent": {
"type": "int32",
"description": "The ID for the parent page",
"example": 0
},
"menu_order": {
"type": "int32",
"description": "The order of the page",
"example": 0
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.