Skip to Content
Wazend

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
Body
{
  "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. The eventResponse.response field indicates GOING, NOT_GOING or MAYBE.
  • event.response.failed — the response couldn't be processed.

See the payload details in Events.