Skip to main content
POST
/
v3
/
file
Upload File (Multipart)
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",
    "originalUrl": "https://r2.fivemanage.com/23492kdx23121/7F9pGhN8qwErT1vx5aZk.jpg",
    "url": "https://r2.fivemanage.com/23492kdx23121/7F9pGhN8qwErT1vx5aZk.jpg"
  },
  "status": "ok"
}

Documentation Index

Fetch the complete documentation index at: https://docs.fivemanage.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Body

multipart/form-data
file
file
required

File to upload

filename
string

Custom filename

path
string

Storage path (folder)

metadata
string

JSON metadata

retentionExempt
boolean

Exempt from retention policy

Response

OK

data
object
status
string
Example:

"ok"