Channel web hooks allows the post any content to a channel or create cases in channel. Channel web hooks are created in channel properties.
Creating a New Web Hook
To create a new web hook please follow these steps;
- Open channel that you want to create a web hook
- Select "Edit" from channel menu
- Switch to "Web Hooks" tabs and click to "Add New" button
- Web hook Url is automatically generated, enter the purpose of channel
- Click "Copy" button on next to Url field to copy Url to clipboard.
- Click Ok to save changes.
Posting Channel Activity
After web hook is created you can post JSON data to create a new activity on channel. Web hook URL contains required all required information does not need any authentication.
Post | Channel Message | ||
---|---|---|---|
|
As another example you can post following JSON to send a message with attachments.
Post | Channel Message | ||
---|---|---|---|
|