The Canva Apps SDK, Connect APIs, and MCP are now unified in the Canva Developers SDK. Learn more⁠(opens in a new tab or window).
Canva Developers SDK
The Canva Apps SDK, Connect APIs, and MCP are now unified in the Canva Developers SDK. Learn more⁠(opens in a new tab or window).

get-export-formats

Check which file formats a design can be exported to.

Use get-export-formats to find out which export file types an existing design supports, and which of its pages are available in each type. Call it before export-design whenever a user wants to download a design as a PDF, PNG, JPG, GIF, PowerPoint, video, or CSV, especially when only some pages are needed in a chosen format.

Example prompt

"Can I download my pitch deck as a PowerPoint file?"

Pass the design_id (the 11-character design ID, which starts with D).

Example response

IDs, URLs, and tokens below are placeholders; field names and structure are exactly as returned.

{
"formats": {
"pdf": { "page_numbers": [ 1, 2, 3 ] },
"png": { "page_numbers": [ 1, 2, 3 ] },
"jpg": { "page_numbers": [ 1, 2, 3 ] },
"pptx": { "page_numbers": [ 1, 2, 3 ] },
"gif": { "page_numbers": [ 1, 2, 3 ] },
"mp4": { "page_numbers": [ 3 ] }
}
}
JSON

Returns a formats object keyed by format name, and only the formats this design supports appear. Each format can include page_numbers, the 1-based pages that can be exported in that format; when page_numbers is omitted, every page supports the format. Use a listed key as the format value for export-design.

Learn more