Exports a saved version of a design to files: png, jpg or webp for stills and mp4 for motion designs, one file per layou
Changed onExports a saved version of a design to files: png, jpg or webp for stills and mp4 for motion designs, one file per layout. Defaults to the newest version, every layout it has, and png for a still or mp4 plus a jpg cover for a video. A file already exported is returned as it is. Returns one export id per file, each of which can become a social post once ready. A design whose prices, discounts or dates no longer match the store is refused with data_stale; acknowledged_stale with a reason exports it as it is and records who did and why.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopescreative:write
Headers
Optional; honoured when sent. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.
Request body
The design to export.
A saved version; the newest when left out.
Layouts: square 1:1, portrait 4:5, story 9:16, landscape 1.91:1, wide 16:9.
File formats.
Export even though the design no longer matches the store's data. Needs a reason; recorded with who asked.
Why it is exported as it is. Only with acknowledged_stale.
Optional. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.
Response
Tool result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning