cURL
curl --request PUT \ --url https://api.zapkey.io/group/toggleEphemeral/{instance} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "expiration": 123 } '
This response has no body data.
Toggle temporary messages on group
Your authorization key header
ID of the instance to connect
Group remote JID
Time to expire message (in seconds)