Archived chats will automatically unarchive when a new message is received, unless you have enabled the “Keep chats archived” setting in WhatsApp.
Request
Chat JID identifier:
- For individual chats:
[email protected] - For group chats:
[email protected]
[email protected]Device identifier for multi-device support. Required when multiple devices are registered. If only one device is registered, it will be used as the default.
Whether to archive (
true) or unarchive (false) the chatResponse
HTTP status code (e.g.,
200)Response code (e.g.,
SUCCESS)Response message describing the resultExample:
Chat archived successfully