ReferenceFor engineers

Webhook event catalog

Every event Awell can send to a subscribed endpoint, grouped by what it is about, with what each one reports and what it does not.

The events available to subscribe to when configuring an outbound webhook. Each fires once, when the thing it describes happens.

Payloads carry identifiers, not clinical detail: the care flow, the patient, and the object the event concerns. Fetch the detail through the API using those identifiers. See Webhooks and events for why.

Activities

An activity is a single thing to be done or shown: a form to complete, a message to read.

EventFires when
activity.createdA new activity is created in a care flow
activity.completedAn activity is finished
activity.updatedAn existing activity changes
activity.expiredAn activity passes its expiry without completion
activity.failedAn activity could not be carried out
activity.deletedAn activity is removed

activity.completed is the event to start from.

Care flows

EventFires when
pathway.startedA care flow starts for a patient
pathway.completedA care flow reaches its end
pathway.stoppedA care flow is stopped before completing
pathway.deletedA care flow is removed

Note the event names. These use pathway, not care_flow. The product renamed pathway to care flow; the wire format did not follow. Subscribe to the names in the table — they are what the platform sends and what the event picker in Studio lists.

Subscribe to both pathway.completed and pathway.stopped to tell a care flow that finished from one that was stopped early.

Tracks

A track groups related steps inside a care flow.

EventFires when
track.startedA track begins
track.completedA track finishes
track.stoppedA track is stopped early

Data and forms

EventFires when
form.submittedA form response is submitted
data_point.collectedA data point receives a value
clinical_note.createdA clinical note is created

form.submitted fires once per submission; data_point.collected fires per value, so one submission can produce several.

Sessions and reminders

EventFires when
session.startedA hosted-pages session begins
session.completedA session finishes
session.expiredA session expires unused
reminder.createdA reminder is generated

Patients

EventFires when
patient.createdA patient record is created
patient.updatedA patient record changes
patient.deletedA patient record is deleted

Subscribe to what gets acted on, nothing more

Every extra event is traffic to authenticate, log, and then ignore, and it makes a real problem harder to see.

A reasonable default is activity.completed plus pathway.completed, then more once the integration proves what it needs.

Next steps

Next: Receive webhook events, build the endpoint that handles the events chosen here.

On this page