delete_whatsapp_web_form_submissions
Delete web form submissions, or cancel a booking: delete (one), delete_many (up to 100 ids), forget_contact (every submission of one contact, the contact fields the forms wrote, and the contact's WhatsApp Forms responses, for an erasure request), or cancel_booking (the appointment a submission booked: the time is offered again, the answers stay; with message, the customer is told in the chat). The first call reports what would be erased or cancelled and a confirmToken; call again with the token once the user approved. Only the account owner's key or an admin can delete; a booking can also be cancelled by the agent who sent its link. For WhatsApp Forms (Meta WhatsApp Flows, native in-chat forms on WhatsApp Business API numbers) use send_whatsapp_flow and list_whatsapp_flows instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "delete_whatsapp_web_form_submissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | delete_many: the submissions | |
| action | Yes | What to do | |
| device | No | forget_contact: only on these numbers | |
| formId | No | forget_contact: only this web form | |
| contact | No | forget_contact: chat ID or phone of the contact | |
| message | No | cancel_booking: what to tell the customer in the chat; leave out to cancel without telling them | |
| allForms | No | forget_contact: across every web form | |
| confirmToken | No | Token from the preview, sent back once the user approved the change | |
| submissionId | No | delete, cancel_booking: the submission |