How to Post Videos to TikTok Without Your Own Domain

The question usually comes up after a failed API call. You have a video, you want an automation to publish it to TikTok, and TikTok refuses the media URL because you have not proved that you own its domain. This article explains where that requirement comes from and compares the ways to publish without a domain of your own, with the limits of each.

Why TikTok asks for a verified domain

The Content Posting API accepts media in two ways:

For PULL_FROM_URL, the domain or URL prefix must be registered and verified as a property of your TikTok developer app. The URL must use HTTPS and must not redirect; TikTok treats 3xx responses as invalid. A URL from an unverified host fails with url_ownership_unverified.

Two consequences matter for anyone without a domain:

Option 1: Upload the file from your own TikTok app

If you are building your own integration on a registered TikTok app, FILE_UPLOAD avoids media URLs entirely for video. Your code calls the post init endpoint, receives an upload_url, and sends the file with PUT requests. According to the media transfer guide:

This removes the need for a media domain, but not for a website. Your app still needs a public site with a privacy policy and terms of service, and newer apps must verify those URLs during registration. Public posting also requires passing TikTok's audit. Those steps are covered in Why TikTok Posting Is More Complicated Than It Looks.

Use it when you are already building and maintaining your own TikTok app. It does not help with photo posts.

Option 2: Upload to the PM3K Media Library

If you publish through PM3K, you do not need a TikTok app or a media domain. PM3K stores your file and handles the transfer to TikTok. The simplest path is to upload the file in the Dashboard:

  1. Open Add media assets, choose a file, and click Upload.
  2. Select the asset in the Media library. Its Details show the media_asset_id.
  3. Publish it from the Dashboard's Post panel, or reference it in an API request.

An API request that publishes an uploaded asset looks like this:

curl -X POST https://pm3k.org/api/v2/tiktok/posts/batches \
  -H "Authorization: Bearer YOUR_PM3K_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "items": [
      {
        "account_id": "ta_YOUR_ACCOUNT_ID",
        "media": { "media_asset_id": "ma_YOUR_ASSET_ID" },
        "post_info": {
          "title": "Behind the scenes of our latest shoot",
          "privacy": "PUBLIC_TO_EVERYONE",
          "audio_rights_confirmed": true
        }
      }
    ]
  }'

Your scripts can also list assets with GET /api/v2/media/assets to find IDs without opening the Dashboard.

Limits:

Option 3: Use a public Google Drive link

For fully automated pipelines that already save finished videos to Google Drive, pass the file's share link as source_url. PM3K downloads the file, stores it as a Media Library asset, and publishes from that copy. Google Drive does not need domain verification.

  1. In Google Drive, open the file's Share settings and set access to Anyone with the link with the Viewer role.
  2. Copy the link to the file, not to its folder. Supported forms include https://drive.google.com/file/d/FILE_ID/view, https://drive.google.com/open?id=FILE_ID, and https://drive.google.com/uc?id=FILE_ID. Keep a resourcekey parameter if the link has one.
  3. Check the link in a private browser window while signed out of Google. If the file does not open there, PM3K cannot download it either.
{
  "items": [
    {
      "account_id": "ta_YOUR_ACCOUNT_ID",
      "media": {
        "media_type": "VIDEO",
        "source_url": "https://drive.google.com/file/d/YOUR_FILE_ID/view"
      },
      "post_info": {
        "title": "Five-minute pasta, no special tools",
        "privacy": "PUBLIC_TO_EVERYONE",
        "audio_rights_confirmed": true
      }
    }
  ]
}

The same link can also be pasted into the Dashboard's External media URL field to import the file into the Media Library first. For photo carousels, Google Drive links can be used in a source_urls array.

Limits and failure cases:

The n8n tutorial shows how to pass a different Google Drive link into the request on every workflow run.

Comparison

Method What you need Main limitation
FILE_UPLOAD from your own app A registered TikTok app, audited for public posts, and a website Video only; you build and maintain the integration
PM3K Media Library upload A PM3K workspace The upload is a manual Dashboard step; 30-day retention
Public Google Drive link via PM3K A PM3K workspace and a file shared with Anyone with the link Google can refuse downloads; up to 200 MB per video
Your own host via PM3K A domain verified in PM3K URLs must not redirect

If you do have a domain later

Media hosted on your own server, CDN, or object storage can be used with PM3K once the domain is verified: add it under Verified source domains, place the downloaded verification file at https://your-domain/pm3k-domain-verification.txt, and click Verify. Verifying a root domain also covers its subdomains, but not the reverse, and URLs that redirect are rejected. The full service guide describes the process step by step.

When several accounts take part, the same media options apply to each item of a batch request; see How to Automatically Post Videos to Multiple TikTok Accounts.