Edit Event
Supported & TestedUpdate an existing event message details.
POSThttps://api.waplix.io/api/v1/messages/edit-event
Authentication
Authorization: Bearer YOUR_API_KEY Parameters Specification
| Parameter | Type | Required | Description |
|---|---|---|---|
| instance_id | string | Required | Required Waplix instance id |
| chat_id | string | Required | Required group/chat JID containing the event |
| event_message_id | string | Required | Required WhatsApp message id of the original event |
| name | string | Optional | Optional updated event title name |
| description | string | Optional | Optional updated event description |
| location | string | Optional | Optional updated location |
| start_time | number | Optional | Optional updated Unix start timestamp |
| end_time | number | Optional | Optional updated Unix end timestamp |
instance_id
stringReq Required Waplix instance id
chat_id
stringReq Required group/chat JID containing the event
event_message_id
stringReq Required WhatsApp message id of the original event
name
stringOpt Optional updated event title name
description
stringOpt Optional updated event description
location
stringOpt Optional updated location
start_time
numberOpt Optional updated Unix start timestamp
end_time
numberOpt Optional updated Unix end timestamp
Usage Notes
Verified on production. Public documentation uses sanitized example data only.
Request Payload Example
Request
curl -X POST "https://api.waplix.io/api/v1/api/v1/messages/edit-event" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"instance_id": "demo_instance",
"chat_id": "15551234567@s.whatsapp.net",
"event_message_id": "EVENT_DEMO_001",
"name": "Waplix Conference (Rescheduled)",
"description": "Kickoff call updated details."
}'Success Response
Response · 200 OK
{
"success": true,
"data": {
"instance_id": "demo_instance",
"chat_id": "15551234567@s.whatsapp.net",
"event_message_id": "EVENT_DEMO_001",
"edit_message_id": "EVENT_DEMO_EDIT_001",
"status": "edited",
"name": "Waplix Conference (Rescheduled)",
"start_time": 1782585918,
"end_time": null
}
} Related Webhook Events
The API response confirms that Waplix accepted or processed the request. Delivery and read updates may arrive asynchronously through configured webhooks.
message.edited
Triggered when the event message update is received.
{
"event": "message.edited",
"instance_id": "demo_instance",
"chat_id": "15551234567@s.whatsapp.net",
"message_type": "event",
"event_message_id": "EVENT_DEMO_001",
"edit_message_id": "EVENT_DEMO_EDIT_001",
"name": "Waplix Conference (Rescheduled)",
"start_time": 1782585918,
"end_time": null,
"timestamp": 1782582351
} Was this page helpful?