Export authorized user data (async)
JSON or FHIR R4 Bundle of authorized profile, document metadata, observations, scores, interviews, recommendations and goals. Returns a pollable operation receipt. export.ready carries the operation ID; fetch the authorized result through the API. Every exported category requires its own current access authority.
Path Parameters
- Type:user
Id required
Body
application/json
- Type: "json" or "fhir_r4"enumformat
- Type: stringFormat: datefrom
Date full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
Responses
- application/json
Request Example for post/users/{userId} /exports
curl https://api.eno.health/users/usr_01JA2Y7Q3K8V5T0N4R6M2P9XWE/exports \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"format": "json",
"fromDate": "2026-11-16"
}'
{
"id": "string",
"type": "export",
"status": "queued",
"userId": "usr_01JA2Y7Q3K8V5T0N4R6M2P9XWE",
"documentId": "string",
"scrubPII": true,
"attempt": 1,
"createdAt": "2026-11-16T17:41:54.464Z",
"updatedAt": "2026-11-16T17:41:54.464Z",
"result": {
"resourceId": "string",
"resourceUrl": "../folder"
},
"failureCode": "string",
"retainedCopies": [
{
"category": "string",
"status": "retained",
"expiresAt": "2026-11-16T17:41:54.464Z"
}
]
}