---
title: "Protected Save All Pages"
method: POST
path: "/api/websites/{website_id}/pages/save-all"
tags: ["Websites - Protected"]
---

# Protected Save All Pages

`POST /api/websites/{website_id}/pages/save-all`

Save blocks for multiple pages at once.

Request body:
{
    "pages": [
        {"page_id": 1, "blocks": [...]},
        {"page_id": 2, "blocks": [...]},
        ...
    ]
}

Returns:
{
    "success": true,
    "saved_count": 5,
    "saved_pages": [1, 2, 3, 4, 5],
    "errors": null
}

## Path parameters

- `website_id` integer, required

## Headers

- `x-api-token` string, nullable

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
