Back to changelog
AppsWebhooksAPI·

Webhooks for app deployments

The app.deployed and app.failed webhook events are now sent for every deployment, carrying the deployment and what went wrong.

Webhook endpoints subscribed to app.deployed or app.failed now receive them. They were listed in the event picker before but never sent.

EventWhen it fires
app.deployedA deployment went live: the new version is serving
app.failedA deployment failed: the build, the rollout, or the app starting

Every deployment counts: the first one, a redeploy, an automatic deploy after a push, a deploy through the API, and a rollback. Each payload carries the deployment in the same shape as listing deployments returns it, with the app and project it belongs to. On app.failed, deployment.error says what went wrong.

The event picker now lists only the events Cosmoner sends. An endpoint that was subscribed to other event names keeps them, and nothing is sent for them.

See Webhooks for the payload.