Skip to main content

Video Upload

This endpoint allows you to upload a video in a single request. You must provide either a socialId or a groupId to specify the target social media platform(s).

POST /upload/video

Headers

HeaderDescription
x-api-keyYour API key.

Body (form-data)

ParameterDescriptionRequired
titleThe title of the post.Yes
videoThe video file.Yes
socialIdThe ID of the social media account to post to.One of socialId or groupId is required.
groupIdThe ID of the group to post to.One of socialId or groupId is required.

Platform-Specific Options (Optional)

The following options can be provided at the top level of the form-data to customize the post for each platform.

YouTube Options

OptionDescriptionDefault
descriptionDescription of the video.
tags[]An array of tags for YouTube.
categoryIdVideo category ID.
privacyStatusPrivacy setting ("public", "unlisted", "private")."public"
embeddabletrue or false. Whether the video is embeddable.true
licenseVideo license ("youtube" or "creativeCommon")."youtube"
publicStatsViewabletrue or false. Whether public stats are viewable.true
madeForKidstrue or false. Whether the video is made for kids.false

TikTok Options

OptionDescriptionDefault
privacy_levelTikTok privacy level ("PUBLIC_TO_EVERYONE", "MUTUAL_FOLLOW_FRIENDS", "FOLLOWER_OF_CREATOR", "SELF_ONLY")"PUBLIC_TO_EVERYONE"
disable_duettrue or false.false
disable_commenttrue or false.false
disable_stitchtrue or false.false
cover_timestampTimestamp in milliseconds for video cover.1000
brand_content_toggletrue or false.false
brand_organic_toggletrue or false.false
is_aigctrue or false. Indicates if content is AI-generated.false

Response

StatusDescription
200 OKIf the upload was successful.
400 Bad RequestIf the request is invalid.
401 UnauthorizedIf the API key is invalid.
500 Internal Server ErrorIf there is an internal server error.