ScreenStateChangedWebhook
The screen state changed webhook is called when a bartender selects a new state for the screens.
| Details | |
|---|---|
| Type | HTTP POST request with a JSON body to your URL |
| After | Upon manual request of a new screen state. |
| Configuration variables | None. |
| Authentication | Signature in X-Signature header: Read more |
Data Schema
{
desiredState: string
}
A string indicating the desired state will be sent. The following table denotes the possible values:
| Value | Text displayed to the bartender |
|---|---|
open | Open |
last-call | Last Call! |
closed | Closed |
evacuation | DANGER! Evacuation mode! |
Example POST Body
{
desiredState: "last-call"
}
In this example, the bartender has requested to switch to the "Last Call" state of the screens.