Media
Upload Sound
Upload an audio file to use in posts
POST
Request Body
TikTok video URL containing the sound you want to extract.How to get the URL:
- Open TikTok on your computer at https://www.tiktok.com/
- Find the video whose music you want to use
- Right-click and select “View video details”
- On the details page, copy the entire URL
Custom name for the sound (optional). If not provided, the sound name from TikTok will be used.
Response
Unique identifier for the uploaded sound.
Name of the sound.
Storage URL of the uploaded sound file.
Duration of the audio in seconds.
ISO 8601 timestamp of when the sound was uploaded.
Using Sounds in PostsAfter uploading, use the returned
soundId in the soundUrl field when creating video or slideshow posts. The sound will be automatically applied to your TikTok posts.Error Responses
Invalid TikTok URL
Sound Extraction Failed