Creating Webhooks in Play Digital Signage
Play Signage allows users to create webhooks for sending notifications to their preferred platforms. A webhook is triggered whenever a screen goes online or offline. In this blog post, we’ll walk through how to set up webhooks, with practical examples for Slack and PagerDuty.
Each webhook payload can include additional data such as the screen name, UID, event time (UTC), event status (connected or disconnected), and event type (online or offline).
To set up a webhook, you first need to enable screen alerts. Go to Alerts and toggle alerts on. Once alerts are enabled, the Webhook button becomes active and you can configure your webhook.
Slack
1. To integrate a webhook with Slack, you’ll first need to create a Slack app.
- Start by heading to https://api.slack.com/apps and signing in to your Slack account.
- From there, click Create New App, choose From scratch, give your app a name, and select the workspace where it will be installed. Once the app is created, you’ll be taken to the app settings page.
2. Configuring the Slack webhook
- In the app settings, open Incoming Webhooks from the left-hand menu and enable it using the toggle in the top-right corner.
- Once enabled, Slack will reveal additional options. Click Add New Webhook and select the channel where you’d like webhook messages to be delivered. After selecting the channel, Slack will generate a webhook URL — keep this handy, as you’ll need it in Play Signage.
3. Configuring the webhook in Play Digital Signage
- In your Play Digital Signage account, go to Alerts, enable alerts for selected screen, click the Webhook button for the screen where you want the webhook to be triggered.
- Paste the Slack webhook URL into the dialog. You’ll see an example payload — make sure to change the "message" field to "text", as this is how Slack recognizes incoming webhook messages.
- Click Test to confirm everything is working. If the setup is correct, a message will appear in the selected Slack channel. Once the test passes, click Save.
That’s it — your webhook is now live and ready to keep you on track with your screen statuses.
If you’d like to dive deeper into Slack webhooks, then Slack’s documentation is a great place to start: https://docs.slack.dev/messaging/sending-messages-using-incoming-webhooks/
PagerDuty