Confirm and admit a direct storage upload

​

Confirm the owner's reserved part against its immutable size, MIME declaration and SHA-256. The caller supplies no replacement object, owner or checksum metadata. Fresh current authority and owner policy are required on every retry. Only verified native acceptance starts the existing asynchronous scan and processing path; the received receipt does not mean processing completed. Repeated completion returns the original received document without starting processing again. A duplicate discovered after registration retains its rejected reservation; retries return duplicate_document with an authorized existingId, without starting processing or issuing another writer. A closed or expired unconsumed slot cannot be completed. Temporary writer retirement and cleanup are owned by Upload; document erasure waits for that cleanup.

Path Parameters

Body

application/json
Empty object

Responses

  • application/json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
Request Example for post/v1/documents/{documentId}/complete
curl 'https://api.dev.eno.health/v1/documents/{documentId}/complete' \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{}'
{
  "id": "string",
  "userId": "string",
  "externalId": "string",
  "title": "string",
  "language": "string",
  "documentDate": "2026-11-16",
  "issuers": [
    {
      "name": "string",
      "type": "unknown",
      "address": "string"
    }
  ],
  "fileName": "string",
  "contentType": "string",
  "sizeBytes": 0,
  "status": "uploading",
  "pageCount": 0,
  "createdAt": "2026-11-16T18:04:15.933Z",
  "updatedAt": "2026-11-16T18:04:15.933Z",
  "uploadedAt": null
}
Partner API reference · Check your integration’s enabled capabilities before making requests.