v1
latestOpenAPI 3.0.02026-07-174565114.3 KBstorage
Get a presigned URL for direct S3 upload
Returns a presigned URL that allows direct file upload to S3. The client should PUT the file directly to the returned uploadUrl.
post/storage/presign
Request body
Example request
{
"contentType": "application/pdf",
"size": 1024000
}Response
Presigned URL generated successfully
Example response
{
"uploadUrl": "https://s3.amazonaws.com/bucket/key?X-Amz-Signature=...",
"attachmentUri": "attachment://p_u2tgQg5U.43bbdf/Ab3xY9kLmN",
"expiresIn": 3600
}