Skip to main content
POST
/
chat
/
archive
Arquivar/desarquivar chat
curl --request POST \
  --url https://api.wppfy.com/chat/archive \
  --header 'Content-Type: application/json' \
  --header 'token: <api-key>' \
  --data '
{
  "number": "5511999999999",
  "archive": true
}
'
{
  "response": "Chat updated successfully"
}

Authorizations

token
string
header
required

Body

application/json
number
string
required

Número do telefone (formato E.164) ou ID do grupo

Example:

"5511999999999"

archive
boolean
required

true para arquivar, false para desarquivar

Example:

true

Response

Chat arquivado/desarquivado com sucesso

response
string
Example:

"Chat updated successfully"