Archive or unarchive a WhatsApp chat.
curl --request POST \
--url https://api.example.com/chat/archiveChat/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"archive": true,
"chat": "5511999999999@s.whatsapp.net"
}'
{
"archived": true,
"chat": "5511999999999@s.whatsapp.net"
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/EvolutionAPI/evolution-api/llms.txt
Use this file to discover all available pages before exploring further.
apikey header.
true to archive the chat, or false to unarchive it.lastMessage is not provided.chat parameter.Show properties
curl --request POST \
--url https://api.example.com/chat/archiveChat/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"archive": true,
"chat": "5511999999999@s.whatsapp.net"
}'
{
"archived": true,
"chat": "5511999999999@s.whatsapp.net"
}
archive: false.curl --request POST \
--url https://api.example.com/chat/archiveChat/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"archive": true,
"chat": "5511999999999@s.whatsapp.net"
}'
{
"archived": true,
"chat": "5511999999999@s.whatsapp.net"
}