Walytic icon

Walytic

Interact with the Walytic WhatsApp automation platform

Webhook → Delete by Session

AI-generated

Summary

Delete one or more webhooks associated with a specific WhatsApp session by providing the session's phone number. Optionally filter by webhook URL or confirm deletion of all webhooks for the session.

Inputs

  • Session ID (required) — WhatsApp phone number in E.164 format without the + sign (e.g., 919876543210) to identify the session whose webhooks should be deleted.
  • Delete Filter — Options to refine which webhooks to delete: specify a webhook URL to delete only that webhook, or set 'Confirm All' to true to delete all webhooks associated with the session.

Output shape

a single record indicating the result of the delete operation

If the deletion is successful, the output contains the response from the API call confirming the deletion. Errors will be returned in the standard error format.

Examples

Example 1: Delete a specific webhook by URL for a given session

Provide the session ID and set the webhookUrl in Delete Filter to the target webhook URL.

Example 2: Delete all webhooks for a given session

Provide the session ID and enable Confirm All in Delete Filter to true.

Links

Discussion