Actions98
- Auto Reply Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Message Actions
- Media Actions
- Notification Actions
- Profile Actions
- Scheduler Actions
- Session Actions
- Status Update Actions
- System Actions
- User Actions
- Webhook Actions
Webhook → Update
AI-generatedSummary
Update existing webhook configuration
Inputs
- sessionId (required) — The Session ID to use for this request
- webhookId (required) — The internal ID of the webhook to manage
- webhookUrl (required) — The endpoint URL that will receive HTTP POST events
- webhookEvents (required) — Comma-separated list of events the webhook will subscribe to
- additionalFields — Additional fields such as webhookSecret for verification
Output shape
object
Returns the updated webhook object containing its ID, URL, events, secret and timestamps; errors are propagated.
Examples
Example 1: Update webhook URL and add secret
sessionId=123, webhookId=5, webhookUrl=https://example.com/webhook, webhookEvents=message.received,additionalFields={"webhookSecret":"mysecret"}