Create Canvas
Changed onCreate a canvas — blank pages, or a one-call copy of a team template.
Returns page ids + editor URL + revision. With template_canvas_id set, the new canvas is a full copy of that source canvas (every page, node, and variable; description, category, and theme carried over; the source's brand kit kept — brand consistency is the point of team templates) instead of blank pages — the same copy seam the in-app agent's create_canvas(mode="copy_canvas") uses. The copy never inherits the source's template flag, and name replaces the default copy naming. Discover the team's flagged templates (with thumbnails) via GET /v1/templates. A missing, deleted, or cross-team source is a 404 not_found; a source whose collaboration state is still syncing is a retryable 503 canvas_crdt_state_not_ready.
A blank create with category: "slides" and a brand_kit_id also attaches that kit's saved default slides theme — the layouts Add Slide draws from. theme_canvas_id in the response is the canvas's effective theme on both lanes (null when unthemed); a kit with no usable theme still creates, unthemed.
Honors idempotency_key through the shared pipeline: a retried create replays the stored result instead of minting a second canvas; the same key with a different payload is a 409 idempotency_conflict.
Create-specific key semantics (deliberate, documented on the field):
- Replay is CLIENT-KEY-ONLY. Without a key every call creates a new canvas; the server never derives a replay key from the payload (same-args creates from different sessions are distinct intents).
- A replayed create is UNMISTAKABLY loud: replayed: true plus reused_existing: true, the ORIGINAL created_at, and a steering note — never a bare committed — because the replayed canvas may have been authored since, and a caller that treats it as a fresh blank canvas would author over existing content.
- A stored result whose canvas was DELETED since does not replay: the stale record is invalidated and the create re-executes fresh (loud stale_replay_invalidated marker), minting a NEW canvas.
Request
- Base URLhttps://api.moda.app/v1
- URLhttps://api.moda.app/v1/canvases
- AuthHTTP bearer
Headers
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
Example request
{
"template_canvas_id": "cvs_01HT9WK8N3M2J4A5Z6P7Q8R9TV",
"folder_id": "fld_01HT9WK8N3M2J4A5Z6P7Q8R9TV",
"brand_kit_id": "bk_01HT9WK8N3M2J4A5Z6P7Q8R9TV"
}Response
Successful Response
Changes
- info
endpoint added
- info