Skip to main content
PATCH
/
groups
/
{id}
/
ephemeral
Mensagens Efêmeras
curl --request PATCH \
  --url https://api.wapizap.com/api/v2/groups/{id}/ephemeral \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "expiration": 0
}
'

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
instanceId
string<uuid>
required
expiration
enum<integer>
required

0=desativado, 86400=1 dia, 604800=1 semana, 7776000=90 dias

Available options:
0,
86400,
604800,
7776000

Response

200

Efêmera configurada