Episode and pathway webhook events
Summary
New webhook event types are available for episodes of care and clinical pathways.
New event types
Episode
episode.createdepisode.updatedepisode.deleted
Pathway
pathway.createdpathway.updatedpathway.deletedpathway.booking.assignedpathway.booking.unassigned
See the Episode events and Pathway events reference pages for payload identifiers.
Migration
Subscribe to the new event type strings when creating or updating a webhook subscription. No changes are required for existing subscriptions unless you want to receive these events.
mutation CreateWebhook {
createWebhook(
input: {
label: "Pathway integration"
url: "https://your-app.com/webhooks/semble"
eventTypes: [pathway.created, pathway.updated, pathway.deleted]
}
) {
data {
id
eventTypes
}
error
}
}