Supported webhook events in Bevatel
"Explore Bevatel's supported webhook events to stay updated on conversation, message, and status changes with customizable payloads."
Supported webhook events in Bevatel
Bevatel publishes various events to the configured webhook endpoints. If you want to configure a webhook, refer to the guide here.
Each event has its payload structure based on the type of model they are acting on. The following section describes the main objects we use in Bevatel and their attributes.
Objects
An event can contain any of the following objects as a payload. Different types of objects supported in Bevatel are as follows.
Account
The following payload will be returned for an account.
Inbox
The following payload will be returned for an inbox.
Contact
The following payload will be returned for a contact.
User
The following payload will be returned for an agent/admin.
Conversation
The following payload will be returned for a conversation.
Message
A sample webhook payload
Webhook Events
Bevatel supports the following webhook events. You can subscribe to them while configuring a webhook in the dashboard or using the API.
conversation_created
This event will be triggered when a new conversation is created in the account. The payload for the event is as follows.
conversation_updated
This event will be triggered when there is a change in any of the attributes in the conversation.
conversation_status_changed
This event will be triggered when the status of the conversation is changed.
Note: If you are using agent bot APIs instead of webhooks, this event is not supported yet.
message_created
This event will be triggered when a message is created in a conversation. The payload for the event is as follows.
message_updated
This event will be triggered when a message is updated in a conversation. The payload for the event is as follows.
webwidget_triggered
This event will be triggered when the end-user opens the live-chat widget.
Last updated