Skip to main content
POST
Create From Markup

Authorizations

Authorization
string
header
required

API key from Settings > Developer > REST API

Headers

Moda-Version
enum<string>
default: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.

Available options:
2026-04-12,
2026-05-01
Example:

"2026-05-01"

Path Parameters

canvas_ref
string
required

Body

application/json
page_id
string
required

Target page id (short p-ref or real). 'canvas' = floating nodes (Design only).

markup
string
required

Moda XML markup.

Minimum string length: 1
mode
enum<string>
default:append
Available options:
append,
replace_page_nodes
expected_revision
string | null

Required for mode='replace_page_nodes'; optional (advisory) for appends.

idempotency_key
string | null
Maximum string length: 200

Response

Successful Response

The response is of type Response Canvasactionsmarkup · object.