> ## Documentation Index
> Fetch the complete documentation index at: https://developers.supapost.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish to TikTok

> Publish a slideshow to TikTok as a photo post

Publishes images to a connected TikTok account. The post is sent to TikTok drafts for final review before going live.

## Authentication

<ParamField header="Authorization" type="string">
  Bearer token. `Bearer <supabase-jwt>`.
</ParamField>

## Body

<ParamField body="account_id" type="string" required>
  ID of the connected TikTok social account.
</ParamField>

<ParamField body="image_urls" type="string[]" required>
  Array of image URLs to include in the slideshow.
</ParamField>

<ParamField body="title" type="string" default="New slideshow">
  Caption for the TikTok post.
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Slideshow sent to TikTok drafts!",
    "publish_id": "tiktok-publish-id"
  }
  ```

  ```json 400 theme={null}
  {
    "success": false,
    "message": "account_id and image_urls are required"
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "message": "TikTok account not found"
  }
  ```
</ResponseExample>
