Designs
Export design
Exports a canvas as an image or document file. Returns a signed URL to download the exported file. The signed URL expires after 7 days.
Authorization
bearerAuth AuthorizationBearer <token>
API key from Settings > Developer > REST API. Format: moda_live_...
In: header
Query Parameters
url*string
Canvas URL or share URL to export.
format?string
Export format: png, jpeg, pdf, or pptx.
Default
"png"Value in
"png" | "jpeg" | "pdf" | "pptx"page_number?integer
1-indexed page number to export. Omit to export all pages.
Range
1 <= valuepixel_ratio?integer
Render scale multiplier (1–4). Higher values produce sharper exports at larger file sizes. Supported for PNG, JPEG, and PDF exports. PPTX ignores this parameter.
Range
1 <= value <= 4flatten?boolean
PDF only: produce a raster-only PDF with no searchable text, vector elements, or hyperlinks. Set to false for searchable text and vector elements.
Default
trueResponse Body
application/json
curl -X POST "https://api.moda.app/v1/designs/export?url=string"{
"url": "http://example.com",
"format": "png"
}