Walytic icon

Walytic

Interact with the Walytic WhatsApp automation platform

Bulk Campaign → Delete

AI-generated

Summary

Delete a bulk campaign in a specified WhatsApp session by providing the session ID and campaign ID.

Inputs

  • Session ID (required) — WhatsApp phone number in E.164 digits, no + sign (e.g. 919876543210). Identifies the WhatsApp session from which to delete the bulk campaign.
  • Campaign ID (required) — The identifier of the bulk campaign to delete.

Output shape

a single JSON object reflecting the API response for the delete operation, typically including a success indicator or error message

The operation sends a DELETE request to the endpoint /api/bulk/{sessionId}/campaigns/{campaignId} and returns the response data. If the response includes a 'data' or 'contacts' array, it is unpacked accordingly; otherwise, the raw response JSON is returned.

Examples

Example 1: Delete a bulk campaign

Provide the WhatsApp session ID and the campaign ID of the bulk campaign to delete; the node will issue the delete request and return the server response.

Links

Discussion