cURL
curl --request POST \ --url https://api.fivemanage.com/api/v3/file \ --header 'Authorization: <api-key>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form 'filename=<string>' \ --form 'path=<string>' \ --form 'metadata=<string>' \ --form retentionExempt=true
{ "data": { "id": "7F9pGhN8qwErT1vx5aZk", "url": "https://r2.fivemanage.com/23492kdx23121/7F9pGhN8qwErT1vx5aZk.jpg" }, "status": "ok" }
Upload a file using multipart/form-data with optional metadata and path. Supports images, videos, and audio.
File to upload
Custom filename
Storage path (folder)
JSON metadata
Exempt from retention policy
OK
Show child attributes
"ok"
Was this page helpful?