Channel Web Hooks¶
Use channel web hooks when an external system needs to post content directly into an Emakin channel or create and update cases in that channel.
Web hooks are created from the channel properties and do not require a separate authentication flow once the generated URL is issued.
Typical Workflow¶
- Create a web hook in the target channel.
- Copy the generated URL.
- Post JSON payloads to that URL from the external system.
- Use a plain payload for activity messages, or include identifiers to create or update channel cases.
Create a New Web Hook¶
To create a new web hook:
- Open the channel where the integration should post messages.
- Select Edit from the channel menu.
- Open the Web Hooks tab and select Add New.
- Enter a purpose for the hook.
- Copy the generated URL with the Copy action.
- Save the channel changes.

Post Channel Activity¶
After the hook is created, post JSON data to create a new activity in the channel. The generated web-hook URL already contains the required identifying information.
Post a Basic Message¶
1 2 3 4 5 6 7 | |

Post a Message with Attachments¶
The following payload posts a message with both file and link attachments:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |

Create a New Case in a Channel¶
If the JSON payload contains an id property, the web hook creates a new case instead of only posting a message. The id must be unique within that channel. If the same id is posted again, the hook does not create a duplicate case.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
This payload creates a new case and attaches the message to that case.

Update an Existing Case¶
To append a new message to an existing case, include a references array containing the previously reported case or message identifier.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | |
This payload appends a new message to the existing case thread.
