Skip to main content
The TikTok publish endpoint lets you post videos to a connected TikTok account directly through the Dohoo API. Unlike the other platform-specific endpoints, TikTok publishing uses the shared social post endpoint — you specify "platform": "tiktok" in the request body to route the content to TikTok. Pass your connection ID, the uploaded video file reference, and an optional caption to get your video live.

Endpoint

Request headers

Request body

Example request

Example response

TikTok only supports video content through this endpoint. Image posts are not supported. Attempting to publish a non-video file will return a 400 Bad Request error.
Videos must be between 3 seconds and 10 minutes in length. TikTok may reject videos outside this range during processing, even if the API initially accepts the request.
For best results on TikTok, use vertical video (9:16 aspect ratio) at a minimum resolution of 1080×1920. Front-load engaging content in the first 2–3 seconds to reduce drop-off rates.