Skip to content

Webhooks

Manage webhook subscriptions for entity events.

Subcommand Usage Description
add grid hooks add <trigger> <url> Add a Slack webhook for a trigger event.
list grid hooks list List configured hooks.
remove grid hooks remove <id> Remove a hook by id.
deliveries grid hooks deliveries Show the recent delivery log.

Options for add: --app <name> — scope to a specific entity. Options for list: --app <name> — filter by entity. Options for deliveries: --limit <n> — number of entries to show.

Terminal window
grid hooks add deploy.failed https://hooks.slack.com/... --app my-app
grid hooks list --app my-app
grid hooks deliveries --limit 10
grid hooks remove <hook-id>
Event Fires when
release.published A platform release is published.
deploy.failed An entity deploy fails.
feedback.received User feedback is received on an entity.
entity.created A new entity is created in the grid.

You can also declare hooks declaratively in cloudgrid.yaml — see the yaml reference.