Delete a Message
Delete a Message¶
Deletes a specific message for everyone in the chat (if permitted by WhatsApp).
Note: You can only delete messages that were sent by your own WhatsApp account, and within WhatsApp's allowed deletion timeframe (usually about 1 hour after sending).
Parameters¶
Name | Type | Required | Description |
---|---|---|---|
number |
string | Yes | Recipient phone number in any format (digits only extracted internally). |
message_id |
string | Yes | ID of the message to be deleted. This ID is returned when the message was originally sent. |
API Endpoint¶
Header¶
Body¶
Response:¶
💡 Tip: Keep your API Key secure. Never share it publicly.