Complete a document inbox upload

Finishes an upload session once its bytes were PUT to upload_url. The file's size and type are checked on the stored bytes, then it is read, matched to a vendor and checked for duplicates exactly like a file uploaded in the app. Answers 202 with status: accepted and the processing_id to poll, or 200 with status: duplicate and duplicate_of naming the document already in the inbox, or 200 with status: failed and a reason_code (retry with a new Idempotency-Key). Answers 409 with upload_session_incomplete when nothing was uploaded, upload_size_invalid or upload_content_invalid. Idempotency-Key is required. Requires the document-extractions:write OAuth scope. The credential's user needs the create_document_extractions permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Headers
string
required
length ≤ 191

Required unique key whose request hash and terminal response are stored durably for 24 hours.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*