Skip to main content

Episode and pathway webhook events

Summary

New webhook event types are available for episodes of care and clinical pathways.

New event types

Episode

  • episode.created
  • episode.updated
  • episode.deleted

Pathway

  • pathway.created
  • pathway.updated
  • pathway.deleted
  • pathway.booking.assigned
  • pathway.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
}
}