Basic video uploads
For files smaller than 200 MB, you can use simple form-based uploads.
- Log in to the Cloudflare dashboard ↗.
- From the navigation menu, select Stream.
- On the Overview page, drag and drop your video into the Quick upload area. You can also click to browse for the file on your machine.
After the video finishes uploading, the video appears in the list.
Make a POST
request with the content-type
header set to multipart/form-data
and include the media as an input with the name set to file
.
curl --request POST \--header "Authorization: Bearer <API_TOKEN>" \--form file=@/Users/user_name/Desktop/my-video.mp4 \https://api.cloudflare.com/client/v4/accounts/{account_id}/stream
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark