Set Disappearing Messages Timer
View All WhatsApp Messaging API APIs →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
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
POST
/api/project/whatsapp-messaging/set-disappearing API Response (JSON)
{} Query Result
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Auto-expire sensitive OTP or credential messages
- Keep support chats tidy with 7-day disappearing messages
- Match a customer's data-retention policy per conversation