Skip to main content
POST
Generate Upload Presigned Url
Step 1 of the two-step upload — and the only path that runs AI classification for carrier-invoice documents. Re-presigning an already-uploaded (sourceSystem, sourceSystemId) fails with 400 DOCUMENT_ALREADY_UPLOADED. See Document conventions.

Authorizations

Authorization
string
header
required

Your API key, sent in the Authorization header: Authorization: YOUR_API_KEY. A Bearer prefix is also accepted (Authorization: Bearer YOUR_API_KEY). Keys are created in the Upwell dashboard (Account → API keys) and are scoped to one organization.

Body

application/json

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

input
GenerateUploadUrlInput · object

Response

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

generateUploadPresignedUrl
UploadPresignedUrlResponse · object