Create presigned URL for request file upload to S3
Generates a presigned URL for uploading a file to S3. This endpoint handles deduplication by checking if a file with the same MD5 hash already exists.
Headers
x-api-key
Request
This endpoint expects an object.
toolkit_slug
Slug of the app where this file belongs to. Example: “image-processing”
tool_slug
Slug of the action where this file belongs to. Example: “resize-image”
filename
Name of the original file. Example: “photo.jpg”
mimetype
Mime type of the original file. Example: “image/jpeg”
md5
MD5 hash of the file for deduplication and integrity verification. Example: “d41d8cd98f00b204e9800998ecf8427e”
Response
Successfully created upload URL for request file
existing
OR
new
OR
update