webhooks

A new encounter has been created

postWebhookencounter.created

Payload

typestring

The event type

Example payload

{
  "type": "encounter.created",
  "data": {
    "encounterId": "182c2e54-3494-4b85-aba5-038cf539d5bf",
    "patientId": "9a5e64b0-0a73-4cb5-ab32-44fea16da4e1",
    "status": "Empty"
  }
}

Response

200 status indicates that the data was received successfully

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.