Skip to content
API reference/Saved sections

List saved sections

Try it

Your account's library of reusable sections, newest first, with how many places (and websites) show each one linked.

GET/api/v1/saved-sections

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: list_saved_sections

Parameters

Named placeholders go in the path; the rest in the query string.

No parameters.

Response

200 with JSON on success (schema on the right). Errors use the standard envelope.

curl
curl -X GET 'https://websites.workflowcorp.com/api/v1/saved-sections' \
  -H "Authorization: Bearer $WEBSITEBUDDY_API_KEY"
Example arguments
{}
Response schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "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
      }
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}