Skip to main content
GET
Get presigned S3 upload URL

Authorizations

X-API-Key
string
header
required

Path Parameters

session_id
string
required

Unique session short_id identifier.

Query Parameters

photo_type
enum<string>
default:other

Photo classification used to namespace the generated S3 key. See PhotoTypeEnum for the full set.

Available options:
front,
back,
left,
right,
top,
bottom,
nutrition,
ingredients,
barcode,
recycling,
certification,
other
original_filename
string
default:photo.jpg

Original filename for extension detection.

Response

OK

Presigned S3 upload URL and metadata.

upload_url
string
required

S3 POST URL for the upload.

upload_fields
Upload Fields · object
required

Form fields to include in the multipart POST.

s3_key
string
required

S3 object key where the file will be stored.

expires_in
integer
required

Seconds until the presigned URL expires.