API reference/Saved sections
Get a saved section
Try itOne saved section and its content.
GET
/api/v1/saved-sections/{saved_section_id}Authentication
An API key as Authorization: Bearer or x-api-key. It needs the sites:read scope — read sites, pages and sections.
sites:readRead onlyMCP tool: get_saved_section
Parameters
Named placeholders go in the path; the rest in the query string.
saved_section_idstringPath · required- The saved section's id.1 to 100 characters
Response
200 with JSON on success (schema on the right). Errors use the standard envelope.
curl -X GET 'https://websites.workflowcorp.com/api/v1/saved-sections/SAVED_SECTION_ID' \
-H "Authorization: Bearer $WEBSITEBUDDY_API_KEY"{
"saved_section_id": "SAVED_SECTION_ID"
}{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"type_label": {
"type": "string"
},
"content": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "The section's content; its shape is the type's content_schema (List section types)."
},
"placements": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Linked placements across every site of the account."
},
"sites": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "How many websites show it linked."
},
"saved_from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The name of the site it was saved from."
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"required": [
"id",
"name",
"type",
"type_label",
"content",
"placements",
"sites",
"saved_from",
"created_at",
"updated_at"
],
"additionalProperties": false
}