Channel currently provides only one event, message creation. We plan to add more events later on.
When a particular event occurs, we request a POST call to your registered URL with a body with JSON format data. An event JSON format is the following:
event: describes an action of the event such as "upsert", "update" and "push".
type: a model that is a target of the event. For now, “Message”, “UserChat” and "User".
entity: an actual model data for the type.
refers: includes objects if there are more models that have to be addressed
Webhook will notify when a message was created in chat (team or user chat). If you registered keywords in Webhook, we will notify you only when a new message contains one of your keywords. An entity of the request body will be a Message object.
chatType of Message : "group" or "userChat"
personType of Message : "manager" or "bot" or "user"
With this event, you can create a chatbot that responds to a certain message. If you want, you can use our Quick-reply option.
Notifies when a new user chat was created. If you registered keywords in Webhook, we will notify you only when a new message contains one of your keywords.
With this event, you can assign one of your manager to the user chat or respond automatically. Refers field contains a user information (User or Veil) and recent message in the user chat.
Notify changes on updating user's contacts(email & mobile number) or push notification ad settings.