design
Lists the available file formats for exporting a design.
<Note> The available export formats depend on the design type and the types of pages in the design. Each format includes the page numbers that support it. If a format is supported by every page in the design, its `page_numbers` are omitted. </Note>get/v1/designs/{designId}/export-formats
Request
- Base URL: https://api.canva.com/rest
- URL: https://api.canva.com/rest/v1/designs/{designId}/export-formats
- Auth: OAuth 2 (authorization code, authorization URL https://www.canva.com/api/oauth/authorize, token URL https://api.canva.com/rest/v1/oauth/token, scopes: design:content:read)
Path parameters
designIdstring required
The design ID.
Response
OK
Example response
{
"formats": {
"pdf": {
"page_numbers": [
1,
2,
3
]
},
"jpg": {
"page_numbers": [
1,
2,
3
]
},
"png": {
"page_numbers": [
1,
2,
3
]
},
"svg": {
"page_numbers": [
1,
2,
3
]
},
"pptx": {
"page_numbers": [
1,
2,
3
]
},
"gif": {
"page_numbers": [
1,
2,
3
]
},
"mp4": {
"page_numbers": [
1,
2,
3
]
},
"html_bundle": {
"page_numbers": [
1,
2,
3
]
},
"html_standalone": {
"page_numbers": [
1,
2,
3
]
},
"csv": {
"page_numbers": [
1,
2,
3
]
}
}
}Changes
- warning
added the new
user_linked_to_another_idpenum value to theresponse property for the response status - warning
added the new
user_linked_to_another_idpenum value to theresponse property for the response status - warning
added the new
user_linked_to_another_idpenum value to theresponse property for the response status
- warning
- warning
added the new
asset_not_readyenum value to theresponse property for the response status - warning
added the new
asset_not_readyenum value to theresponse property for the response status - warning
added the new
asset_not_readyenum value to theresponse property for the response status
- warning