canvas-actions

Screenshot Canvas

Changed on

Render up to 3 pages; returns the raw artifact contract (pages[].dataURL).

format declares the actual image encoding of the data URLs (JPEG today, quality 0.92 — chosen for payload size on a base64 transport), derived from the artifact itself.

post/canvases/{canvas_ref}/screenshot

Request

  • Base URL
    https://api.moda.app/v1
  • URL
    https://api.moda.app/v1/canvases/{canvas_ref}/screenshot
  • 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

page_idsstring[] nullable

Pages to capture. Omit for the current page. Max 3.

pixel_ratiointeger

Response

Successful Response

object required

Changes