Skip navigation

Skip to main content

  • Home
  • Your apps
  • Your integrations
On September 25th, 2024, we released v2 of the Apps SDK. To learn what’s new and how to upgrade, see Migration FAQ and Migration guide.
API reference
Asset
getTemporaryUrlfindFontsopenColorSelectorrequestFontSelectionupload
Design
addAudioTrackaddElementAtCursoraddElementAtPointaddNativeElementaddPagecreateRichtextRangeeditContentgetCurrentPageContextgetDefaultPageDimensionsgetDesignTokeninitAppElementoverlay.registerOnCanOpenrequestExportselection.registerOnChangesetCurrentPageBackgroundui.startDragToCursorui.startDragToPointui.startDrag
Platform
appProcessappProcess.broadcastMessageappProcess.currentappProcess.current.getInfoappProcess.current.requestCloseappProcess.current.setOnDisposeappProcess.requestCloseappProcess.registerOnMessageappProcess.registerOnStateChangefeatures.isSupportedfeatures.registerOnSupportChangegetPlatformInforequestOpenExternalUrl
User
auth.getCanvaUserTokenauth.initOauth
API reference

addAudioTrack

API reference for the addAudioTrack method.

Adds an audio track to the user's design.

Parameters

audioTrackAudioTrackRequired

The audio track to add to the user's design.

refAudioRefRequired

A unique identifier that points to an audio asset in Canva's backend.

Returns

Promise<void>

CommunityGet HelpGitHub
Was this page useful?

Privacy policyTerms
© 2025 All Rights Reserved. Canva®