Ze da API icon

Ze da API

WhatsApp API powered by Ze da API - Send messages, manage groups, contacts and more

Actions137

Event → Edit Event

AI-generated

Summary

Update an existing event with optional fields and request settings

Inputs

  • phone (required) — Recipient phone number with country code
  • eventId (required) — ID of the event to edit
  • name — Updated event name
  • description — Updated event description
  • startTime — Updated start time in RFC3339 format
  • endTime — Updated end time in RFC3339 format
  • location — Updated event location
  • canceled — Whether to cancel the event
  • delayMessage — Delay in seconds before sending (0 = API default 1-3s random)
  • delayTyping — Show typing indicator before sending (1-15, 0 = off)
  • scheduledFor — ISO 8601 timestamp for scheduled delivery (overrides Delay Message). Must be in the future.
  • requestOptions — Configuration options for the HTTP request

Output shape

a single updated Event object

Returns the updated event details on success; otherwise an error response is returned.

Examples

Example 1: Edit an event to cancel it and set a custom phone number

eventId = '12345'; phone = '5511999999999'; canceled = true

Links

Discussion