How to upload video to Tiktok and Instagram

hi,

i found a way to upload videos to tiktok using the upload-post api. i created a Make scenario that sends a post request to the api with the video file and parameters like title, user, and platform. it works well for me and i wanted to share my solution here.

How to? first, log in to https://app.upload-post.com/ and create an account, then connect your social media accounts. Next, generate an API key that you will use in Make.com.

Follow these steps in Make.com:

  • Add an HTTP Module:
    In your Make.com scenario, add an HTTP module and choose the “Make a Request” action.
  • Configure the Request Settings:
    • Method: Set to POST.
    • URL: Enter https://api.upload-post.com/api/upload.
    • Headers:
      Add a header with:
      • Key: Authorization
      • Value: Apikey [YOUR_API_KEY]
  • Set the Request Body:
    Change the body type to multipart/form-data and add the following form fields:
    • title: Set the value to your desired title (you can use a variable if needed, e.g., [YOUR TITLE]).
    • user: Enter your username the one you setted in upload-post (e.g., [YOUR USERNAME]).
    • platform[]: Set the value to tiktok.
    • video: Attach the binary file (your video file). Make sure this field is mapped to the binary data you want to send.
  • Save and Test:
    Save your scenario and run a test to ensure that the video upload works correctly via the API.

if anyone has questions or ideas to improve this setup, let me know. thanks.

2 Likes

Thank you for this contribution.

I implemented it, the response was 200, but after 30 mins, the video is not being published yet.

What is your experience on the ETA to be published after the response of the API is successful?

Hi Juan, thanks for trying it out my method.

After the 200 response, it should be published within a few minutes, probably no more than 5.

Maybe you can send an email to the support team at hi@img2html.com explaining the situation. Since this seems to be an early-stage product, it could have some bugs.

1 Like

It finally worked, tx.

I’m currently facing the problem—could you explain how you resolved it? Thanks in advance!

{“results”:{“tiktok”:{“error”:“Publish failed or unknown final status: None”,“success”:false}},“success”:true,“usage”:{“count”:0,“last_reset”:“2025-02-24T23:39:25.466200”,“limit”:10}}

I noticed that you had the same issue before, and you managed to fix it. I’m currently facing the same problem—could you explain how you resolved it? Thanks in advance!

{“results”:{“tiktok”:{“error”:“Publish failed or unknown final status: None”,“success”:false}},“success”:true,“usage”:{“count”:0,“last_reset”:“2025-02-24T23:39:25.466200”,“limit”:10}}

1 Like

Hello @lehieu76 :wave:

hope you are doing great!

To get a quicker response from the whole community, I recommend opening new topic. :slight_smile: Hope you will receive help soon.

Thank you! :sunny:

1 Like

hello, i think it’s because of the video type you are uploading. check tiktok docs to ensure your video meets their restrictions: .mp4 file, up to 60 fps, etc. if your video is different, it won’t work.

Hi all, testing the suggested procedure. “I´m getting Error: 502 Bad Gateway”. Any clues on what is the issue?.

Weird error, you uploading the videos in the format supported by Instagram or TikTok?

502 seems like strange error, what endpoint url you calling?

PFA the screenshot. Sometimes getting Error 500 as well. Endpoint URL set to: https://api.upload-post.com/api/upload

Hmmm I don’t see your authorization header.

Must be like,
Add a header with:

  • Key: Authorization
  • Value: Apikey [YOUR_API_KEY]

The “Apikey” is important too

Thanks!. Looks it was one of the issues…but not the only one…getting a publish failed message:" {“results”:{“tiktok”:{“error”:“Publish failed or unknown final status: None”,“success”:false}},“success”:true,“usage”:{“count”:0,“last_reset”:“2025-03-09T21:15:28.469468”,“limit”:10}}"

hello, nice!

Have you checked the video requirements for each platform?

:slight_smile:

I seem to be running into a different issue 400: bad request

Stating I’m missing title/video

Currently, I am getting the data for the video from Dropbox Download a File. Any suggestions on if there is another route i should be taking on passing the file through?