> ## 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.

# Publishing

> Publish content to social media platforms.

## Overview

Supapost supports publishing slideshows directly to connected social media accounts.

## Supported Platforms

| Platform  | Status      | Post Type               |
| --------- | ----------- | ----------------------- |
| TikTok    | Available   | Photo slideshow (draft) |
| Instagram | Coming soon | —                       |

## Connecting Accounts

1. Go to **Settings > Social Accounts**
2. Click **Connect TikTok**
3. Authorize Supapost in the TikTok OAuth flow
4. Your account appears in the publish dropdown

## Publishing from the Editor

1. Open your slides in the editor
2. Click the **dropdown arrow** next to Export
3. Under **Publish to**, select your account
4. Slides are exported, uploaded, and sent to TikTok

Currently, TikTok posts are created as **drafts** in your TikTok account with `SELF_ONLY` privacy. You can review and publish them from the TikTok app.

## Publishing via API

```bash theme={null}
curl -X POST https://api.supapost.so/publish/tiktok \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "account-uuid",
    "image_urls": [
      "https://cdn.supapost.so/exports/slide-1.jpg",
      "https://cdn.supapost.so/exports/slide-2.jpg"
    ],
    "title": "My slideshow"
  }'
```

## Image Requirements

* Format: **JPEG** or **WebP** (PNG is not supported by TikTok)
* Recommended size: **1080x1920** (9:16)
* Images must be publicly accessible URLs
