API reference
We provide the following APIs for Canva Apps:
Asset
Design
- addAudioTrack
- addElementAtCursor
- addElementAtPoint
- addNativeElement
- addPage
- createRichtextRange
- getCurrentPageContext
- getDefaultPageDimensions
- getDesignToken
- initAppElement
- overlay.registerOnCanOpen
- requestExport
- selection.registerOnChange
- setCurrentPageBackground
- ui.startDragToCursor
- ui.startDragToPoint
- ui.startDrag
Platform
- appProcess
- appProcess.broadcastMessage
- appProcess.current
- appProcess.current.getInfo
- appProcess.current.requestClose
- appProcess.current.setOnDispose
- appProcess.requestClose
- appProcess.registerOnMessage
- appProcess.registerOnStateChange
- features.isSupported
- features.registerOnSupportChange
- getPlatformInfo
- requestOpenExternalUrl