Skip to main content
POST
/
api
/
rest
/
generate-upload-presigned-url
Generate Upload Presigned Url
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>"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Body

application/json

Query parameters can also be provided in the request body as a JSON object

input
GenerateUploadUrlInput Ā· object

Response

200 - application/json

Responses for POST /api/rest/generate-upload-presigned-url

generateUploadPresignedUrl
UploadPresignedUrlResponse Ā· object