Skip to main content

Upload Video

Upload video to various social media platforms using this endpoint.

Endpoint

POST /api/upload

Headers

NameValueDescription
AuthorizationApikey your-api-key-hereYour API key for authentication

Common Parameters

NameTypeRequiredDescription
userStringYesUser identifier
platform[]ArrayYesPlatform(s) to upload to (e.g., "tiktok", "instagram", "linkedin", "youtube", "facebook", "twitter", "threads")
videoFileYesThe video file to upload
titleStringYesTitle of the video

Platform-Specific Parameters

TikTok

For more information about Tiktok API parameters, visit the Tiktok API documentation.

NameTypeRequiredDescriptionDefault
privacy_levelStringNoPrivacy setting ("PUBLIC_TO_EVERYONE", "MUTUAL_FOLLOW_FRIENDS", "FOLLOWER_OF_CREATOR", "SELF_ONLY")"PUBLIC_TO_EVERYONE"
disable_duetBooleanNoDisable duet featurefalse
disable_commentBooleanNoDisable commentsfalse
disable_stitchBooleanNoDisable stitch featurefalse
cover_timestampIntegerNoTimestamp in milliseconds for video cover1000
brand_content_toggleBooleanNoEnable branded contentfalse
brand_organicBooleanNoEnable organic branded contentfalse
branded_contentBooleanNoEnable branded content with disclosurefalse
brand_organic_toggleBooleanNoEnable organic branded content togglefalse
is_aigcBooleanNoIndicates if content is AI-generatedfalse

Instagram

For more information about Instagram API parameters, visit the Instagram Graph API documentation.

NameTypeRequiredDescriptionDefault
media_typeStringNoType of media ("REELS")"REELS"
share_to_feedBooleanNoWhether to share to feedtrue
collaboratorsStringNoComma-separated list of collaborator usernames-
cover_urlStringNoURL for custom video cover-
audio_nameStringNoName of the audio track-
user_tagsStringNoComma-separated list of user tags-
location_idStringNoInstagram location ID-
thumb_offsetStringNoTimestamp offset for video thumbnail-

LinkedIn

For more information about LinkedIn API parameters, visit the LinkedIn Marketing API documentation.

NameTypeRequiredDescriptionDefault
descriptionStringNoThe user generated commentary for the postTitle param
visibilityStringYesVisibility setting ("CONNECTIONS", "PUBLIC", "LOGGED_IN", "CONTAINER")"PUBLIC"

YouTube

For more information about YouTube API parameters, visit the YouTube Data API documentation.

NameTypeRequiredDescriptionDefault
descriptionStringNoDescription of the videoTitle param
tagsArrayNoArray of tags[]
categoryIdStringNoVideo category"22"
privacyStatusStringNoPrivacy setting ("public", "unlisted", "private")"public"
embeddableBooleanNoWhether video is embeddabletrue
licenseStringNoVideo license ("youtube", "creativeCommon")"youtube"
publicStatsViewableBooleanNoWhether public stats are viewabletrue
madeForKidsBooleanNoWhether video is made for kidsfalse

Facebook

For more information about Facebook API parameters, visit the Facebook Graph API documentation.

NameTypeRequiredDescriptionDefault
descriptionStringNoDescription of the videoTitle param
video_stateStringNoDesired state of the video ("DRAFT", "PUBLISHED", "SCHEDULED")"PUBLISHED"

Threads

For more information about Threads API parameters, visit the Threads API documentation.

NameTypeRequiredDescriptionDefault
descriptionStringNoThe user generated commentary for the postTitle param

X (Twitter)

For more information about X API parameters, visit the X API Post Creation documentation.

NameTypeRequiredDescriptionDefault
tagged_user_idsArrayNoArray of user IDs to tag[]
reply_settingsStringNoWho can reply ("following", "mentionedUsers", "everyone")"following"
nullcastBooleanNoWhether to publish without broadcastingfalse
place_idStringNoLocation place ID-
poll_durationIntegerNoPoll duration in minutes1440
poll_optionsArrayNoArray of poll options[]
poll_reply_settingsStringNoWho can reply to poll ("following", "mentionedUsers", "everyone")"following"

Example Requests

Upload a Video to TikTok

curl \
-H 'Authorization: Apikey your-api-key-here' \
-F 'video=@/path/to/your/video.mp4' \
-F 'title="Your Video Title"' \
-F 'description="Your video description"' \
-F 'user="test"' \
-F 'platform[]=tiktok' \
-F 'tags[]=hashtag1' \
-F 'tags[]=hashtag2' \
-X POST https://api.upload-post.com/api/upload