Send the bytes for an accepted batch file

​

Send the raw file bytes using the target's required Content-Type and a current partner bearer. The owner rechecks the patient grant, processing consent, submitting application, erasure state, target expiry and current MIME policy. Bytes must exactly match the reserved size and SHA-256; the per-file ceiling is 26214400 bytes and current policy may be lower. A received receipt acknowledges durable asynchronous admission. Retrying identical bytes preserves the acknowledged document and does not enqueue processing again. A duplicate discovered after registration retains that file's identity and rejected owner state. Current authority is required on every retry. Expiry is checked at admission, and an admitted request may finish later. A new request using an expired, unconsumed target returns upload_target_expired; registration replay does not extend its expiry.

Path Parameters

Body

required
application/json

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 put/v1/users/{userId}/documents/{documentId}/content
curl 'https://api.dev.eno.health/v1/users/{userId}/documents/{documentId}/content' \
  --request PUT \
  --header 'Content-Type: */*' \
  --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": "received",
  "pageCount": 0,
  "createdAt": "2026-11-16T18:04:15.838Z",
  "updatedAt": "2026-11-16T18:04:15.838Z",
  "uploadedAt": "2026-11-16T18:04:15.838Z"
}
Partner API reference · Check your integration’s enabled capabilities before making requests.