Webhook event types
Learn more about the types of events that Knock sends webhook events for.
Messages
#Workflow runs
#A workflow recipient run represents the execution of a workflow for a single recipient. Use these events to respond when a recipient's workflow run starts, completes, or encounters an error. You can also inspect runs via the workflow recipient runs API.
Commits
#With environments enabled, promoting commits copies them from one environment into another, and merging a branch promotes its commits into the development environment. Use these events to respond when changes land in an environment. You can also inspect promotes via the list commits endpoint. Publishing a change creates a commit, and Knock sends a *.committed event for that commit.
Branches
#Branches are available once you've enabled environments. Knock sends branch events to webhooks in the branch's parent environment (i.e. development). Merging a branch sends commits.promoted with a source_type of branch, not a separate merge event.
Resources
#Knock sends a *.updated event when a resource changes in an environment and a *.committed event when that change is committed. Committed events include the commit ID in event_data. Goals publish on save, so they send only goal.updated, which carries the commit ID.
Audiences
#Knock sends these events for user-visible audiences and skips managed and system audiences.