# Notification when machine state changed

**URL:** <https://community.fly.io/t/notification-when-machine-state-changed/28772>\
**Category:** Questions / Help\
**Tags:** metrics, grafana\
**Created:** [October 8, 2026, 2:52pm UTC](https://community.fly.io/t/notification-when-machine-state-changed/28772 "2026-10-08T14:52:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![flobishop](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@flobishop](https://community.fly.io/u/flobishop)\
**Post date:** [October 8, 2026, 2:52pm UTC](https://community.fly.io/t/notification-when-machine-state-changed/28772/1 "2026-10-08T14:52:16Z")

</div>

Is it possible to be notified when machine state changed ?

---

<div class="post-metadata">

**Author:** ![flyio-support](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/flyio-support/32/46245_2.png) [@flyio-support](https://community.fly.io/u/flyio-support)\
**Post date:** [October 8, 2026, 3:38pm UTC](https://community.fly.io/t/notification-when-machine-state-changed/28772/4 "2026-10-08T15:38:10Z")

</div>

Hi - this is not possible directly. You can approximate it to an extent with the wait endpoint: [https://docs.fly.io/machines/api/machines-resource#wait-for-a-machine-to-reach-a-specified-state](https://docs.fly.io/machines/api/machines-resource#wait-for-a-machine-to-reach-a-specified-state) but this requires you to call an endpoint and wait for the state transition. There’s nothing like a “fire a webhook when a machine transitions state” thing.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [October 18, 2026, 3:38pm UTC](https://community.fly.io/t/notification-when-machine-state-changed/28772/5 "2026-10-18T15:38:33Z")

</div>

Closed on October 18, 2026, 3:38pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
