POST
/
v3
/
storage
/
upload-url
Generate Upload URL
curl --request POST \
  --url http://127.0.0.1:3333/v3/storage/upload-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fileName": "<string>"
}
'
{
  "presignedUrl": "<string>",
  "fileUrl": "<string>",
  "formData": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
fileName
string
required
fileType
string
sessionId
string
blockId
string

Response

Default Response

presignedUrl
string
required
fileUrl
string
required
formData
object