# How to know when a channel begins a stream?

**URL:** <https://discuss.dev.twitch.com/t/how-to-know-when-a-channel-begins-a-stream/37691>\
**Category:** Chat and IRC\
**Created:** [April 1, 2022, 2:03pm UTC](https://discuss.dev.twitch.com/t/how-to-know-when-a-channel-begins-a-stream/37691 "2022-04-01T14:03:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaloPil](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/palopil/32/17590_2.png) [@PaloPil](https://discuss.dev.twitch.com/u/PaloPil)\
**Post date:** [April 1, 2022, 2:03pm UTC](https://discuss.dev.twitch.com/t/how-to-know-when-a-channel-begins-a-stream/37691/1 "2022-04-01T14:03:56Z")

</div>

Hello!  
I wanted to send a message in chat with my chatbot when the channel begins a stream but I don’t know how to know when a stream begins.  
Can you help me please?  
Thanks

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [April 1, 2022, 2:05pm UTC](https://discuss.dev.twitch.com/t/how-to-know-when-a-channel-begins-a-stream/37691/2 "2022-04-01T14:05:48Z")

</div>

Call the Get Streams API every minute

> **[Reference](https://dev.twitch.tv/docs/api/reference/)**
>
> Twitch Developer tools and services to integrate Twitch into your development or create interactive experience on twitch.tv.

Use EventSub to recieve a HTTP Post request to your server when a stream starts

> **[EventSub](https://dev.twitch.tv/docs/eventsub/)**
>
> EventSub

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [May 1, 2022, 2:05pm UTC](https://discuss.dev.twitch.com/t/how-to-know-when-a-channel-begins-a-stream/37691/3 "2022-05-01T14:05:50Z")

</div>

Closed on May 1, 2022, 2:05pm UTC

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