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
- Type:user
Id required - Type:document
Id required
Body
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
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"
}