POST
/
upload
import os
from reducto import Reducto

client = Reducto(
    api_key=os.environ.get("REDUCTO_API_KEY"),  # This is the default and can be omitted
)
upload = client.upload()
print(upload.file_id)
{
  "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

Response

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