---
title: "Import Canvas Pages"
method: POST
path: "/canvases/{canvas_ref}/import-pages"
tags: ["canvas-actions"]
---

# Import Canvas Pages

`POST /canvases/{canvas_ref}/import-pages`

## Request

- Base URL: `https://api.moda.app/v1`
- URL: `https://api.moda.app/v1/canvases/{canvas_ref}/import-pages`
- Auth: HTTP bearer

Import pages from another canvas (team-accessible source or a valid share token).

Source authorization mirrors the internal import tool exactly: the source
must be in a team the caller belongs to OR carry an active public share;
self-import is refused; an inaccessible source is a 404/403 before any
dispatch. Imported pages are cloned with fresh ids and appended after the
destination's last page; ``created_ids`` carries the new page ids.

## Path parameters

- `canvas_ref` string, required

## Headers

- `Moda-Version` '2026-04-12' | '2026-05-01'

## Request body

- CanvasImportPagesRequest
  - `source` string, required: Source canvas: a CANVAS_REF (cvs_ wire id or bare UUID) or a share token.
  - `page_ids` string[], nullable: Source page ids to import (real ids, or short p-refs from a prior source-state read). Omit to import every page (an explicit empty list is rejected, never widened to all pages).
  - `expected_revision` string, nullable: Optional (advisory) — imports append pages.
  - `idempotency_key` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `401`: Authentication required.
- `402`: Insufficient credits for a metered operation.
- `403`: Permission denied for this scope.
- `404`: Resource not found.
- `409`: Conflict (idempotency / resource state).
- `422`: Request validation failed.
- `429`: Rate limit exceeded.
- `500`: Internal error.

## Changes

- **2026-11-03** `9ac6a3abc0f8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/moda/apis/moda-public-api/changes/canvases/:canvas_ref/import-pages/post.md)

---

[API](https://skmtc.dev/moda/apis/moda-public-api.md) - [All operations](https://skmtc.dev/moda/apis/moda-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moda/apis/moda-public-api/revisions/9ac6a3abc0f8?raw)
