Connections

DELETE /connections/{phoneNumber}/messages

Changed on

Deletes a message for everyone in the chat. For group messages not sent by you, this requires admin privileges.

Request

  • Base URL
    http://localhost:3025
  • Auth
    API key in header x-api-key

Path parameters

phoneNumberstring required
Example:+551234567890

Phone number for connection. Must have + prefix.

Request body

jidstring required

WhatsApp JID [Chat JID where the message exists]

Response

Message deleted successfully

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status