canvas-actions

Import Canvas Pages

Changed on

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.

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

Path parameters

canvas_refstring required

Headers

Moda-Version'2026-04-12' | '2026-05-01'
Example:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Request body

sourcestring required

Source canvas: a CANVAS_REF (cvs_ wire id or bare UUID) or a share token.

page_idsstring[] 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_revisionstring nullable

Optional (advisory) — imports append pages.

idempotency_keystring nullable

Response

Successful Response

object required

Changes