cURL
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 } '
Configura tempo de vida das mensagens
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
0=desativado, 86400=1 dia, 604800=1 semana, 7776000=90 dias
0
86400
604800
7776000
Efêmera configurada