data.delivered
data.delivered fires when patient data has been uploaded to your organization's S3 bucket or SFTP server.
When It Fires
The event is emitted after a retrieval batch has been successfully uploaded to your configured destination. It always follows data.available for the same retrievalId. It is not sent when:
- Your organization has data delivery disabled.
- The batch is a background refresh and your organization has opted out of background refresh.
- The upload to your destination failed.
Example Payload
{
"type": "data.delivered",
"timestamp": "2026-08-19T14:40:12.113Z",
"apiVersion": 1,
"deliveryAttempt": 1,
"organizationId": "56696fdb-2e0d",
"projectId": "694d61c2-3f1b-4dc8",
"data": {
"patientId": "17d4513f-73e8-4b2a-9c1d-5e6f7a8b9c0d",
"externalId": "member-48213",
"retrievalId": "b1f0a7c2-5d3e-4f60-8a91-2c4d6e8f0a1b",
"deliveredAt": "2026-08-19T14:40:11.870Z"
}
}
Key Fields
| Field | Description |
|---|---|
patientId | The HealthEx identifier for the patient whose data was delivered. |
externalId | Your own identifier for the patient in this project, as supplied when you identified them. null if none has been set. |
retrievalId | Identifier of the retrieval (batch) that was delivered. |
deliveredAt | When the upload to your destination completed. |
Next Steps
- Idempotency and Ordering: Handle repeat and out-of-order deliveries