Webhooks
Grouptalk
This manual explains how to configure a webhook for GroupTalk and connect it to a panic button device. Once configured, pressing the panic button will send an alarm notification to the configured GroupTalk recipient.
1. Create a New Webhook
- Navigate to:
Webhooks → New Webhook
- Fill in the webhook configuration fields:
| Field | Value |
|---|---|
| Name | Enter a descriptive name for the webhook |
| URL | Enter your GroupTalk endpoint URL |
| IsActive | Set to Yes |
| DataFormat | Select GroupTalk |
| Secret | Enter your GroupTalk REST API Bearer token |
-
Configure the webhook event:
-
Select Button Pressed as the event.
-
This event is used to review and trigger an alarm when the panic button is pressed.
-
Save the webhook configuration.
2. Configure the Panic Button Device
After creating the webhook, configure the device that will trigger the alarm.
-
Open your ioThings device (panic button).
-
Select:
Manage
-
Locate the Metadata field.
-
Add the following JSON configuration:
{
"webhook_message": "Test message",
"webhook_priority": "ALARM",
"webhook_recipient": "ERT_ALARM"
}
- Save the device configuration.
3. Metadata Field Explanation
The metadata values determine the content and routing of the alarm sent to GroupTalk.
| Field | Description |
|---|---|
webhook_message |
The alarm message that will be displayed in GroupTalk. Replace "Test message" with your desired alarm text. |
webhook_priority |
The priority level of the alarm. Supported values: NORMAL, URGENT, or ALARM. |
webhook_recipient |
The GroupTalk recipient that receives the alarm. This must be configured in GroupTalk and can be a USER and/or GROUP. |
Example:
{
"webhook_message": "Emergency assistance required at loading dock",
"webhook_priority": "URGENT",
"webhook_recipient": "SECURITY_TEAM"
}
4. Testing the Configuration
To verify the setup:
- Ensure the webhook is active.
- Confirm the panic button device contains the correct metadata configuration.
- Press the panic button.
- Verify that the alarm is received by the configured GroupTalk user or group.
Troubleshooting
Alarm is not received
Check the following:
- The webhook is set to Active.
- The GroupTalk REST API Bearer token in the Secret field is valid.
- The endpoint URL is correct.
- The
webhook_recipientexists in GroupTalk. - The recipient is configured as a valid GroupTalk USER and/or GROUP.
- The
webhook_priorityvalue is one of: NORMALURGENTALARM
Invalid metadata
Ensure the Metadata field contains valid JSON format and that all required fields are present:
{
"webhook_message": "Your alarm message",
"webhook_priority": "NORMAL",
"webhook_recipient": "YOUR_GROUP_OR_USER"
}
Your GroupTalk webhook integration is now configured and ready for use.