Skip to main content
POST
/
presigned-url
/
{token}
Upload file using presigned URL
curl --request POST \
  --url https://api.fivemanage.com/api/presigned-url/{token} \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'metadata=<string>'
{
  "id": "7F9pGhN8qwErT1vx5aZk",
  "url": "https://r2.fivemanage.com/7F9pGhN8qwErT1vx5aZk.jpg"
}

Path Parameters

token
string
required

Presigned URL token

Body

multipart/form-data
file
file
required

File to upload

metadata
string

File metadata (JSON string)

Response

OK

id
string
Example:

"7F9pGhN8qwErT1vx5aZk"

url
string
Example:

"https://r2.fivemanage.com/7F9pGhN8qwErT1vx5aZk.jpg"