POST
/
upload
import requests

url = "https://platform.reducto.ai/upload"

payload = ""
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "multipart/form-data; boundary=---011000010111000001101001"
}

response = requests.request("POST", url, data=payload, headers=headers)

print(response.text)
{
  "file_id": "<string>",
  "presigned_url": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

extension
string | null

Body

multipart/form-data
file
file | null

Response

200
application/json
Successful Response
file_id
string
required
presigned_url
string | null