Event messages
Send WhatsApp event messages with Wazend and receive attendee responses.
Event messages let you create event invitations on WhatsApp and receive guest responses.
Send event message
POST /api/{session}/events{
"chatId": "5215551234567@c.us",
"reply_to": null,
"event": {
"name": "Team meeting",
"description": "Project review",
"startTime": 1788256800,
"endTime": 1788260400,
"location": {
"name": "Head office"
},
"extraGuestsAllowed": false
}
}Receive responses
Guest responses are received through webhooks with the events:
event.response— the guest responded. TheeventResponse.responsefield indicatesGOING,NOT_GOINGorMAYBE.event.response.failed— the response couldn't be processed.
See the payload details in Events.