Skip to main content

Update Page

PATCH/api/v1/dashboard/content/pages/{page_id}

Overview

Updates an existing content page. Only the fields included in the request body are updated; all other fields remain unchanged. You can update individual blocks by sending the full blocks array.

Authentication

info

Bearer authentication required - Pass your credentials as Authorization: Bearer <client_id>:<api_key>:<api_secret>.

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer <client_id>:<api_key>:<api_secret>
Content-TypestringYesapplication/json

Path Parameters

ParameterTypeRequiredDescription
page_idstring (UUID)YesThe unique identifier of the page

Request Body

All fields are optional. Only include the fields you want to update.

ParameterTypeDescription
slugstringURL-friendly slug
titlestringPage title
descriptionstringShort page description
blocksarrayArray of typed content blocks (replaces all existing blocks)
templatestringTemplate name
seo_titlestringCustom SEO title
seo_descriptionstringCustom SEO meta description
og_image_urlstringOpen Graph image URL
warning

Updating blocks replaces the entire block array. Always send the complete list of blocks you want the page to have.

Response

Returns the full updated page object (same shape as Create Page).

Example Request

curl -X PATCH "https://spideriq.ai/api/v1/dashboard/content/pages/e5f6a7b8-c9d0-1234-efab-567890123456" \
-H "Authorization: Bearer $CLIENT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "About Our Team",
"seo_title": "About Our Team | SpiderIQ",
"blocks": [
{
"type": "hero",
"data": {
"heading": "Meet Our Team",
"subheading": "The people behind SpiderIQ."
}
},
{
"type": "text",
"data": {
"content": "We are a distributed team of engineers building the data layer for AI agents."
}
}
]
}'

Example Response

{
"id": "e5f6a7b8-c9d0-1234-efab-567890123456",
"slug": "about",
"title": "About Our Team",
"blocks": [
{
"type": "hero",
"data": {
"heading": "Meet Our Team",
"subheading": "The people behind SpiderIQ."
}
},
{
"type": "text",
"data": {
"content": "We are a distributed team of engineers building the data layer for AI agents."
}
}
],
"status": "draft",
"template": "default",
"sort_order": 0,
"updated_at": "2026-04-08T11:30:00Z",
"seo_title": "About Our Team | SpiderIQ",
"seo_description": "Learn about SpiderIQ and our mission to automate lead generation.",
"og_image_url": null
}

Status Codes

Status CodeMeaningDescription
200OKPage updated successfully
400Bad RequestInvalid field values or block format
401UnauthorizedInvalid or missing Bearer token
404Not FoundPage not found or belongs to another client
409ConflictSlug already in use by another page