curl --request POST \
--url https://api.upwell.com/api/rest/generate-upload-presigned-url \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"associationId": "<string>",
"associationType": "CARRIER_INVOICE",
"documentType": "ACCESSORIAL_RECEIPT",
"fileName": "<string>",
"isPod": true,
"mimeType": "<string>",
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"visibleToCarrier": true,
"visibleToCustomer": true
}
}
'{
"generateUploadPresignedUrl": {
"documentId": "<string>",
"uploadUrl": "<string>"
}
}Generate a presigned URL for direct S3 file upload
curl --request POST \
--url https://api.upwell.com/api/rest/generate-upload-presigned-url \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"associationId": "<string>",
"associationType": "CARRIER_INVOICE",
"documentType": "ACCESSORIAL_RECEIPT",
"fileName": "<string>",
"isPod": true,
"mimeType": "<string>",
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"visibleToCarrier": true,
"visibleToCustomer": true
}
}
'{
"generateUploadPresignedUrl": {
"documentId": "<string>",
"uploadUrl": "<string>"
}
}Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY
Query parameters can also be provided in the request body as a JSON object
Show child attributes
Responses for POST /api/rest/generate-upload-presigned-url
Show child attributes