curl --request PUT \
--url https://api.zapkey.io/chat/archiveChat/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '
{
"lastMessage": {
"key": {
"remoteJid": "<string>",
"fromMe": true,
"id": "<string>"
}
},
"archive": true
}
'