How do I control the wins and lose conditions in a game embed?

In the game embed you can add webhook urls to specific win and lose pages on your website to control the flow of the win and lose conditions.