Events sent from Delight to your webhook have a single unified json schema. This provides you an abstraction layer across the different API and json schemas of each supported channel.
No matter how many channels your bot needs to support, your webhook only needs to deal with Delight’s single, unified schema only. As each channel evolves its own API and as new channels are supported, we will keep this json schema to you constant and backwards-compatible.
When an event is sent to your webhook via HTTP POST, you will receive a JSON payload of the following format.