Mirrors TikTok's own POST /file/video/ad/upload/.
- Body is forwarded exactly as sent.
- Write — changes a live ad account immediately; needs a write-scoped token.
Uploading a file. As well as the JSON body above, this route accepts multipart/form-data with a file part (other parts ride along as platform fields), or file_base64 inside the JSON body — raw base64 or a data: URI, plus optional file_name/file_type. file_base64 is the only way an MCP caller can send bytes. MP4, MOV or WebM, up to 64MB. Above that the request is rejected by the ingress with a plain 413 (an HTML error page, not this API's JSON envelope) — the ceiling is our request-size limit, not the vendor's. A rejected type or size is 400 FILE_UPLOAD_INVALID; unavailable storage is 503 FILE_STAGING_FAILED (retry the identical request). Do not send upload_type: "UPLOAD_BY_FILE" — that is TikTok's multipart variant, which this API does not speak; a staged file is sent as UPLOAD_BY_URL.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200OK
