publish_social_post
Publish a post immediately to one or more connected social accounts, including remote media URLs or local files, so content can be shared across platforms from one request.
Instructions
Publish a social post immediately across one or more connected social accounts in SocialDispatch. Supports remote media URLs or local file paths directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Keywords/tags for video discovery (supported on YouTube SEO). | |
| title | No | Video title for platforms requiring dedicated titles (e.g. YouTube). Max 100 characters. If omitted, falls back to the first line of content. | |
| content | No | Text caption/content of the post (or video description on YouTube) | |
| isShort | No | Explicitly designate video as a YouTube Short (appends #Shorts to title and formats link as youtube.com/shorts/...). If omitted, auto-detected from aspect ratio and duration. | |
| linkUrl | No | Optional URL for link preview card | |
| mediaUrls | No | Optional array of publicly accessible image or video URLs to attach (or local file paths, which will be automatically uploaded) | |
| accountIds | Yes | List of connection IDs to publish to (obtained via list_social_connections) | |
| mediaFiles | No | Optional array of local file paths on disk (e.g. ["/path/to/video.mp4"]) to upload directly to SocialDispatch storage and attach to post | |
| thumbnailUrl | No | Optional public image URL to use as custom video thumbnail (supported for YouTube, Facebook, and TikTok; JPEG/PNG recommended max 2MB for YouTube, up to 10MB for Facebook) | |
| privacyStatus | No | Video privacy visibility (supported on YouTube, defaults to "public"). | |
| thumbnailFile | No | Optional local file path to a custom thumbnail image on disk (e.g. "/path/to/thumb.jpg") to automatically upload and set for YouTube, Facebook, or TikTok videos | |
| tiktokThumbnail | No | Alias for thumbnailFile/thumbnailUrl: custom thumbnail image path or URL for TikTok video uploads | |
| variantContents | No | Optional dictionary of platform-specific or account-specific text overrides (e.g. {"facebook": "...", "x": "..."}) | |
| youtubeThumbnail | No | Alias for thumbnailFile/thumbnailUrl: custom thumbnail image path or URL for video uploads | |
| facebookThumbnail | No | Alias for thumbnailFile/thumbnailUrl: custom thumbnail image path or URL for Facebook video uploads |