Upload a video
Get a video file into PostQuickAI hosted storage. The returned videoUrl is on a domain whitelisted by our TikTok developer app, so it can be passed straight to /v1/posts/create as videoUrl for TikTok / YouTube / Instagram Reels publishing without URL ownership errors.
Two modes:
A) Inline base64 (MCP / LLM friendly, ≤ 25MB decoded): POST { data: base64String, contentType?, fileName? } → get back { videoUrl, contentType, size } in one call. No follow-up PUT needed.
B) Signed URL (required for videos > 25MB, up to 500MB):
- POST { contentType, size } → get back { uploadUrl, videoUrl, headers }.
- PUT the raw video bytes to uploadUrl using the returned headers.
Limits: video/mp4, video/webm, video/quicktime. Counts against your storage quota at request time.
Typical MCP flow: call uploadVideo with inline base64 data → take the returned videoUrl → pass it as videoUrl to createPost.
Request
- Base URL: https://www.postquick.ai/api
- URL: https://www.postquick.ai/api/v1/videos/upload
- Auth: HTTP bearer
Request body
Response
Signed upload URL issued.
Changes
No recorded changes to this operation across all 1 revision of this API.