Actions28
- Message Actions
- Chat Actions
- Contact Actions
- Session Actions
- Media Actions
- Storage Actions
- Webhook Actions
- Ticket Actions
Webhook → Delete
AI-generatedSummary
Deletes a webhook registered on a WAOtomatis session by its webhook ID, so the endpoint stops receiving event deliveries.
Inputs
- Session (required) — The WAOtomatis session (connected WhatsApp number) that owns the webhook. Pick from a searchable list or enter a session ID (letters, digits, underscore, hyphen).
- Webhook ID (required) — ID of the webhook to delete, for example an ID returned by Webhook → Create or Webhook → List.
Output shape
One item per input item, containing the JSON body returned by the API's DELETE /v1/sessions/{sessionId}/webhooks/{webhookId} call.
The node does not substitute a default body, so the output may be empty if the API returns no content. The webhook ID is URL-encoded. If no session is selected, the node throws an error. API errors are raised as NodeApiError with the API's message and code. With Continue On Fail enabled, the item outputs {error: message} instead.
Examples
Example 1: Remove a webhook that is no longer needed after a migration to a new endpoint.
Session: choose from list; Webhook ID: the ID of the old webhook.
Example 2: Clean up all webhooks for a session by chaining List and Delete.
Run Webhook → List, then Webhook → Delete with Webhook ID set to the expression {{ $json.id }}.
