Upload media from device

This endpoint enables accelerated uploads of large media files directly from your local device to FastPix for processing and storage.

PLEASE NOTE

This version now supports uploads with no file size limitations and offers faster uploads. The previous endpoint (which had a 500MB size limit) is now deprecated. You can find details in the changelog.

How it works

  1. Send a POST request to this endpoint with optional media settings.

  2. The response includes an uploadId and a signed url for direct video file upload.

  3. Upload your video file to the provided url by making PUT request. The API accepts the media file from the device and uploads it to the FastPix platform.

  4. Once uploaded, the media undergoes processing and is assigned a unique ID for tracking. Retain this uploadId for any future operations related to this upload.

After uploading, you can use the Get Media by ID endpoint to check the status of the uploaded media asset and see if it has transitioned to a ready status for playback.

To notify your application about the status of this API request check for the webhooks for media related events.

Example

A social media platform allows users to upload video content directly from their phones or computers. This endpoint facilitates the upload process. For example, if you are developing a video-sharing app where users can upload short clips from their mobile devices, this endpoint enables them to select a video, upload it to the platform.

Related guide: Upload videos directly

Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!