Skip to main content
POST
/
api
/
v1
/
documents
/
confirm_upload
POST documents confirm_upload
curl --request POST \
  --url https://api.example.com/api/v1/documents/confirm_upload \
  --header 'Content-Type: application/json' \
  --data '
{
  "document_id": "<string>"
}
'
{
  "document": {
    "type": "<unknown>",
    "pattern": "<unknown>"
  },
  "message": "<string>",
  "success": true
}
Confirms the upload. See Starting an Upload for more details on the full upload workflow.

Body

application/json
document_id
string
required

The document_id returned by /documents/init_upload. Note that the document will not be accessible via /documents/<id> until the upload is confirmed.

Response

200 - application/json

Successful operation

document
object

A reference to the uploaded document.

message
string

A success or error message.

success
boolean

Whether the upload was successful.