Webhook API
Webhooks allow developer to subscribe to events that are happening with Bot in Eko. Eko can send an HTTP request to an endpoint that you configure. There are 2 types of event including Create a chat and sending a message.
User create a chat room
When a user create a 1-1 chat room with bot for first time, Eko will send an event to customer endpoint.
Message request
When the bot has sent a message, the endpoint will receive a request from the Eko server once the bot is sent a message as below
Request parameters
Last updated