Overview
A webhook is a way for MinChat to notify your server in real-time when a specific event occurs.
When webhooks are enabled in the minchat dashboard, your server will receive HTTP POST requests from minchat servers notifying you about events that happen in your application between your users.
Webhook Events
MinChat supports the following webhook events
Message Sent
Is triggered when a message is sent by a user.
Field | Type | Description |
---|---|---|
| The user that sent the message | |
| An array of users that have received the message | |
|
| The content of the message |
| A file attachment associated with this message | |
|
| The id of the conversation this message was sent to |
metadata |
| an optional key value pair for any additional message information. |
chat_metadata |
| an optional key value pair for any additional chat information. |
New Daily Active User
Is triggered when there is a new daily active user.
The payload is a User
object
Last updated