POST
/
chat
/
archive
curl --request POST \
  --url https://api.crunchz.app/api/chat/archive \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contact_id": "xxx@c.us"
}'
{
  "success": true,
  "message": "<string>",
  "data": [
    {
      "message_id": "<string>",
      "from_me": "<string>",
      "is_media": true,
      "body": "<string>",
      "status": "<string>",
      "reactions": [
        "<string>"
      ],
      "timestamp": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

ChatCollection

The response is of type object.