webhooks

A new case has been created

postWebhookcase.created

Payload

typestring

The event type

Example payload

{
  "type": "case.created",
  "data": {
    "caseId": "182c2e54-3494-4b85-aba5-038cf539d5bf",
    "personSeekingTreatmentId": "9a5e64b0-0a73-4cb5-ab32-44fea16da4e1",
    "status": "New"
  }
}

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.