Set Disappearing Messages Timer

View all WhatsApp Messaging API endpoints →

Enable or change the disappearing-messages timer for a chat. Send a JSON body with durationSeconds: 0 turns it off, 86400 for 24 hours, 604800 for 7 days, or 7776000 for 90 days. Only these four values are accepted. Applies to new messages in the chat going forward.

API Features

Four timer presets Choose off, 24 hours, 7 days, or 90 days
Per-chat control Set the timer independently for each direct chat or group
Privacy-friendly Automatically remove sensitive messages after the chosen window

Live API Demo

POST /api/project/whatsapp-messaging/set-disappearing

API Response (JSON)

{}
curl -X POST 'https://api.opendata-api.com/api/project/whatsapp-messaging/set-disappearing?key=<API_KEY>&sessionId=<sessionId>&chatJid=<chatJid>' \ -H 'Content-Type: application/json' \ -d '{"body":"{\"durationSeconds\":86400}"}'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Related operations

Guides

View Subscription Plans →