Update a media by ID
This endpoint allows you to update specific parameters of an existing media file. You can modify the key-value pairs of the metadata that were provided in the payload during the creation of media from a URL or when uploading the media directly from device.
How it works
-
Make a PATCH request to this endpoint. Replace
<mediaId>with the unique ID (uploadIdorid) of the media you received after uploading to FastPix -
Include the updated parameters in the request body.
-
The response returns the updated media data, confirming the changes.
-
Monitor the video.media.updated webhook event to track the update status in your system.
Example
If a user uploads a video and later needs to change the title, add a new description, or update tags, you can use this endpoint to update the media metadata without re-uploading the entire video.
Authentication
FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.
- Username: Access Token ID
- Password: Secret Key
Activate your FastPix account to generate your API credentials. See the guide here