Presign upload
Presign upload
Generates a presigned URL that allows direct file upload to storage. The URL is valid for 1 hour and supports files up to 500MB.
Supported file types:
- Spreadsheets: .xlsx, .xls, .csv, .tsv
- Documents: .txt, .json, .pdf
- Images: .png, .jpg, .jpeg, .webp
Upload flow:
- Call this endpoint to get a presigned URL
- Upload your file directly to the returned URL using HTTP PUT
- The file is automatically associated with your import
curl -X POST "https://api.ivandt.com/v1/files/presign" \ -H "Content-Type: application/json" \ -d '{ "fileName": "string", "fileSize": 0, "contentType": "string" }'{
"uploadUrl": "string",
"fileId": "string",
"fileKey": "string",
"expiresIn": 0
}