{
"event": "presence.update",
"data": {
"id": "<string>",
"event": "presence.update",
"metadata": [
{}
],
"me": {
"id": "<string>",
"pushName": "<string>"
},
"payload": {
"id": "<string>",
"presences": [
{
"participant": "<string>",
"lastKnownPresence": "<string>",
"lastSeen": "<string>"
}
]
},
"instanceId": "<string>",
"userId": "<string>"
}
}Update User Chat Behavior
Real-time updates on user chat activities like typing or recording voice messages.
WEBHOOK
presence-update
{
"event": "presence.update",
"data": {
"id": "<string>",
"event": "presence.update",
"metadata": [
{}
],
"me": {
"id": "<string>",
"pushName": "<string>"
},
"payload": {
"id": "<string>",
"presences": [
{
"participant": "<string>",
"lastKnownPresence": "<string>",
"lastSeen": "<string>"
}
]
},
"instanceId": "<string>",
"userId": "<string>"
}
}presence.update
Provides real-time updates regarding the status of the whatsapp chats. Information like typing, recording a voice message, or other relevant activities, It’s like seeing the chat got updated in real whatsapp app.payload.id indicates the chat - either direct chat with a contact or a group chat.
payload.id.[].participant - certain participant presence status. For a direct chat there’s only one participant.Headers
User UUID associated with the connected WhatsApp instance.
Instance UUID of the connected WhatsApp instance.
Body
application/json
Response
200
The server successfully received the user behavior data from the WhatsApp chat. Status 200 is returned, confirming the successful reception and processing of the provided data.