pdf: Export the design as a PDF. Providing a paper size is optional. The default paper size is A4.
jpg: Export the design as a JPEG. Compression quality must be provided. Height or width (or both)
may be specified, otherwise the file will be exported at it's default size.
If the user is on the Canva Free plan, the export height and width for a fixed-dimension design can't be upscaled by more than a factor of 1.125.
png: Export the design as a PNG. Height or width (or both) may be specified, otherwise
the file will be exported at it's default size. You may also specify whether to export the
file losslessly, and whether to export a multi-page design as a single image.
If the user is on the Canva Free plan, the export height and width for a fixed-dimension design can't be upscaled by more than a factor of 1.125.
pptx: Export the design as a PPTX.
gif: Export the design as a GIF. Height or width (or both) may be specified, otherwise the file
will be exported at it's default size. Large designs will be scaled down, and aspect ratio
will always be maintained.
mp4: Export the design as an MP4. You must specify the quality of the exported video.
For the jpg type, the quality of the exported JPEG determines how compressed the exported file should be. A lowquality value (minimum 1) will create a file with a smaller file size, but the resulting file will have pixelated artifacts when compared to a file created with a highquality value (maximum 100).
For the mp4 type, the quality is the orientation and resolution of the exported video. Orientation is either
horizontal or vertical, and resolution is one of 480p, 720p, 1080p or 4k. This can be one of the following:
To specify which pages to export in a multi-page design, provide the page numbers as
an array. The first page in a design is page 1.
If pages isn't specified, all the pages are exported.
Specify the height in pixels of the exported image. If only one of height or width is
specified, then the image will be scaled to match that dimension, respecting the design's
aspect ratio. If no width or height is specified, the image will be exported using the
dimensions of the design.
Specify the width in pixels of the exported image. If only one of height or width is
specified, then the image will be scaled to match that dimension, respecting the design's
aspect ratio. If no width or height is specified, the image will be exported using the
dimensions of the design.
If set to true (Default), the PNG is exported without compression.
If set to false, the PNG is compressed using a lossy compression algorithm. Lossy PNG compression is only available to users on a Canva plan that has premium features, such as Canva Pro. If the user is on the Canva Free plan and this parameter is set to false, the export operation will fail.
If the export failed, this specifies the reason why it failed. This can be one of the following:
license_required: The design contains premium elements that haven't been purchased. You can either buy the elements or upgrade to a Canva plan (such as Canva Pro) that has premium features, then try again. Alternatively, you can set export_quality to regular to export your document in regular quality.
internal_failure: The service encountered an error when exporting your design.