Options for posting via the API to TikTok
TikTok does asynchronous processing of videos. They require that after uploading the video your user open their mobile TikTok app to finalize the processing.
Please see details on the TikTok process:
JSON for a basic post with a video to TikTok:
"post": "The best TikTok video ever #best https://www.tiktok.com",
Please note, the
postfield is required, but not currently supported by TikTok. The user must manually enter in the description within the TikTok app.
The response will have the
idfield set to "pending". After the user completes the processing the mobile app, the
idfield will be updated with the TikTok video ID. The
idShareis used for internal referencing the video is awaiting final processing.
Example JSON post:
"post": "The best TikTok video ever #best https://www.tiktok.com"
If an error occurs, such as TikTok was unable to process the video, the
idfield will be set to "failed" and the
errorsfield will contain the error details.
- The video must end in a known video extension such as mp4. Please either reverse proxy the URL, add on a vanity URL with a CDN, or use the /media endpoint.
- The status of the TikTok post can be retrieved with the history endpoint:
- When the user publishes the video in the TikTok mobile app, a "scheduled" webhook will be sent with the