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 specifyDocumentation Index
Fetch the complete documentation index at: https://docs.dohoo.ai/llms.txt
Use this file to discover all available pages before exploring further.
"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
| Header | Required | Description |
|---|---|---|
X-API-Key | ✅ | Your Dohoo API key |
Content-Type | ✅ | Must be application/json |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
platform | string | ✅ | Must be "tiktok" |
connectionId | string | ✅ | The ID of the TikTok connection to publish from |
fileId | string | ✅ | The ID of the uploaded video file |
caption | string | ❌ | Caption for the TikTok post. Supports hashtags and mentions |
Example request
Example response
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.