Skip to content

Signed ingest: events

Normalized events signed with the source key (`EDFlow-Source`, `EDFlow-Timestamp`, `EDFlow-Delivery-Id`, `EDFlow-Signature`). An exact replay of a processed delivery returns the stored 200 result.

POST
/ehr/v1/events

Normalized events signed with the source key (EDFlow-Source, EDFlow-Timestamp, EDFlow-Delivery-Id, EDFlow-Signature). An exact replay of a processed delivery returns the stored 200 result.

Authorization

edflowSignature
EDFlow-Signature<token>

HMAC-SHA256 source signature of the signed ingest routes (event-schema §3): EDFlow-Source, EDFlow-Timestamp, EDFlow-Delivery-Id and EDFlow-Signature over the raw body with the source key. Sign at dispatch time, never in the transformer.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/ehr/v1/events" \  -H "Content-Type: application/json" \  -d '{    "events": []  }'
{  "deliveryId": "string",  "results": [    {      "edflowEncounterId": "string",      "error": {        "code": "string",        "message": "string",        "path": "string",        "retryable": true      },      "id": "string",      "note": "string",      "status": "accepted",      "warnings": [        {          "code": "string",          "path": "string"        }      ]    }  ],  "summary": {    "accepted": -9007199254740991,    "buffered": -9007199254740991,    "duplicate": -9007199254740991,    "ignored": -9007199254740991,    "quarantined": -9007199254740991,    "rejected": -9007199254740991,    "superseded": -9007199254740991  }}

Was this page helpful?