cURL
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 }
The document_id returned by /documents/init_upload. Note that the document will not be accessible via /documents/<id> until the upload is confirmed.
document_id
/documents/init_upload
/documents/<id>
Successful operation
A reference to the uploaded document.
Show child attributes
A success or error message.
Whether the upload was successful.