Skip to main content
POST
/
instances
/
{id}
/
chats
/
{phone}
/
unarchive
Unarchive chat
curl --request POST \
  --url https://api.vzaps.com/instances/{id}/chats/{phone}/unarchive \
  --header 'Authorization: Bearer <token>'
{
  "status": "ok"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Identificador publico da instancia no formato gerado pela plataforma: prefixo VZ seguido de caracteres alfanumericos.

Example:

"VZ9K2M4N8P1Q3R5S7T0WABCD01EF"

phone
string
required

Contact number (e.g. 5511999999999), group id, or full JID.

Example:

"5511999999999"

Response

Action completed

status
string
required
Example:

"ok"