How to use webhook for checking users are livestreaming and get there data?

What does your code look like to make the request to create a subscription?