Skip to main content

Publish Page

POST/api/v1/dashboard/content/pages/{page_id}/publish

Overview

Publishes a content page, setting its status to published and recording the published_at timestamp. Once published, the page becomes visible via the public Get Page and List Pages endpoints.

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>

Path Parameters

ParameterTypeRequiredDescription
page_idstring (UUID)YesThe unique identifier of the page to publish

Request Body

No request body is required.

Response

Returns the full page object with status set to published and published_at populated.

Example Request

curl -X POST "https://spideriq.ai/api/v1/dashboard/content/pages/e5f6a7b8-c9d0-1234-efab-567890123456/publish" \
-H "Authorization: Bearer $CLIENT_TOKEN"

Example Response

{
"id": "e5f6a7b8-c9d0-1234-efab-567890123456",
"slug": "about",
"title": "About Us",
"status": "published",
"published_at": "2026-04-08T12:00:00Z",
"template": "default",
"blocks": [
{
"type": "hero",
"data": {
"heading": "About Our Company",
"subheading": "We help businesses find and connect with their ideal customers."
}
}
],
"updated_at": "2026-04-08T12:00:00Z",
"seo_title": "About Us | SpiderIQ",
"seo_description": "Learn about SpiderIQ and our mission.",
"og_image_url": null
}

Status Codes

Status CodeMeaningDescription
200OKPage published successfully
401UnauthorizedInvalid or missing Bearer token
404Not FoundPage not found or belongs to another client