API reference
Design
addAudioTrackaddElementAtCursoraddElementAtPointaddPagebulkCreate.launchcreateRichtextRangeeditContentgetCurrentPageContextgetDesignMetadatagetDesignTemplateMetadatagetDesignTokeninitAppElementopenDesignoverlay.registerOnCanOpenpublish.launchrequestExportselection.registerOnChangesetCurrentPageBackgroundui.startDragToCursorui.startDragToPointChangelog
Intents
Intents: Asset
Intents: Content
Intents: data
Intents: design
Platform
appProcessappProcess.broadcastMessageappProcess.currentappProcess.current.getInfoappProcess.current.requestCloseappProcess.current.setOnDisposeappProcess.requestCloseappProcess.registerOnMessageappProcess.registerOnStateChangefeatures.isSupportedfeatures.registerOnSupportChangegetPlatformInfonotification.addToastrequestOpenExternalUrl
App middleware: Express
Changelog for @canva/app-middleware@beta
The latest changes for the Canva Apps SDK @canva/app-middleware@beta package.
v0.0.0-beta.5 - 2026-01-22
Added
- Added design token authentication support with
initDesignTokenVerifier()core function anddesign.verifyToken()Express middleware for verifying design-scoped requests.
Changed
- Renamed
UserAuthErrortoTokenVerificationError.
v0.0.0-beta.4 - 2026-01-15
Changed
- Dependencies audit bringing modules up to date:
jsonwebtoken 9.0.2 -> 9.0.3
Removed
- Removed unused
AppIdMismatchErrorclass, which was never thrown.
v0.0.0-beta.3 - 2026-01-13
Changed
- Replaced
@publicwith@betatags in TSDocs, while the SDK's still in beta.
v0.0.0-beta.2 - 2025-12-23
Added
- Added new
UserTokenVerifiertype for theexpress/usernamespace.
Changed
- Various examples and documentation improvements in TSDocs.
Fixed
- Fixed an issue where
err instanceOf UserAuthErrorchecks were failing across cjs/esm module boundaries. - Ensured error messages are logged in debug mode.
- Token verification now only checks for claims that exist in the token.
v0.0.0-beta.1 - 2025-12-22
Added
- Initial release of
@canva/app-middleware.