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.
MinChat supports the following webhook events
Is triggered when a message is sent by a user.
payload
{
"sentBy":{
"id":"639575b2c280a7001e892906",
"name":"Samantha Smith",
"avatar": "urltoavatar.com/mercyavatar.jpg"
},
"sentTo":[
{
"id":"639575b2c280a7001e892906",
"name":"Jackie",
"avatar": "urltoavatar.com/mercyavatar.jpg"
}
],
"text":"Hello guys!",
"channelId": "63d3e12d669fc928b3d78f80"
}
Last modified 4mo ago