Archive / Unarchive Chat
PATCHhttps://public.leadpattern.com/customer/:waId/archive
Archive or unarchive a chat. Independent of open/closed status — an archived chat is hidden from the default inbox view until unarchived.
Headers
1 fieldAuthorizationstringrequired
Your API key. Sent raw (e.g. 'lp_...'). No Bearer prefix required.
Path Parameters
1 fieldwaIdstringrequired
Contact WhatsApp ID.
Body Parameters
1 fieldisArchivedbooleanrequired
true to archive, false to unarchive.
Responses
JSON Response
{
"type": "success",
"message": "Chat archived."
}Sample Request Body
{
"isArchived": true
}
