Edit (or cancel) an event
Edits an event THIS instance created, identified by `eventMessageId`. Resend the full set of event fields — every field is replaced with the new values, matching WhatsApp's edit semantics. Set `canceled` to `true` to mark the event as cancelled. Only the original creator can edit, so the event must have been sent from this same device/instance (its message secret is required).
Edits an event THIS instance created, identified by eventMessageId. Resend the full set of event fields — every field is replaced with the new values, matching WhatsApp's edit semantics. Set canceled to true to mark the event as cancelled. Only the original creator can edit, so the event must have been sent from this same device/instance (its message secret is required).
Authorization
bearerAuth Per-user API token (UUID v4) sent as Authorization: Bearer <token>. Identifies the tenant and user.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/send/event-edit" \ -H "Content-Type: application/json" \ -d '{ "to": "120363019502650977@g.us", "eventMessageId": "3EB0XXXXEVT1234567890ABCD", "name": "Quarterly Planning (rescheduled)", "description": "Roadmap review and Q3 goals", "dateTime": "2026-07-02T18:30:00-03:00", "location": { "name": "HQ — Room B" }, "canceled": false }'{ "success": true, "message_id": "3EB0XXXXEVT9876543210WXYZ", "timestamp": "2026-06-19T15:00:00Z", "status": "sent", "chat_jid": "120363019502650977@g.us", "message": "Event edited successfully"}{ "error": "eventMessageId is required"}{ "error": "unauthorized"}{ "error": "failed to dispatch message"}{ "error": "WhatsApp device is not connected"}Send a document message POST
Sends a document (PDF, spreadsheet, archive, etc.) to a WUTS-connected WhatsApp recipient. The document may be supplied as a base64 string or downloaded from a URL, with optional MIME type, file name, caption, thumbnail, mentions, and quoted reply.
Send an event POST
Sends a WhatsApp event card to a group or 1:1 chat. An event carries a name, an optional description, a start time (and optional end time), an optional location and call/meeting link, and flags such as `extraGuestsAllowed` and `canceled`. Times accept RFC 3339 (`2026-07-01T18:30:00-03:00`), a local datetime plus `timeZone`, or a Unix epoch. WUTS attaches a per-message secret so recipients can RSVP later via `/send/event-response`.