Overview
Last updated
Was this helpful?
Last updated
Was this helpful?
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 , your server will receive HTTP POST requests from minchat servers notifying you about events that happen in your application between your users.
MinChat supports the following webhook events
Is triggered when a message is sent by a user.
sent_by
The user that sent the message
sent_to
An array of users that have received the message
text
string
The content of the message
file
A file attachment associated with this message
chat_id
string
The id of the conversation this message was sent to
metadata
json object
an optional key value pair for any additional message information.
chat_metadata
json object
an optional key value pair for any additional chat information.
Is triggered when there is a new daily active user.
The payload is a object