Time-to-live
Updated: Oct 31, 2025 If we are unable to deliver a message to a WhatsApp user, we will retry the delivery for a period of time known as a time-to-live (“TTL”), or the message validity period. You can customize the default TTL for authentication and utility templates sent via Cloud API, and for marketing templates sent via Marketing Messages Lite API (“MM Lite API”). We encourage you to set a TTL for all of your authentication templates, preferably equal to or less than your code expiration time, to ensure your customers only get a message when a code is still usable.Defaults, Min/Max Values, and Compatibility Table
| Authentication | Utility | Marketing | |
|---|---|---|---|
| Default TTL | 10 minutes 30 days for authentication templates created before October 23, 2024 | 30 days | 30 days |
| Compatibility | Cloud API + On-Premise API | Cloud API only | Marketing Messages (MM) Lite API |
| Customizable range | 30 seconds to 15 minutes | 30 seconds to 12 hours | 12 hours to 30 days |
Customize the TTL
To set a custom TTL on an authentication, utility, or marketing template, include and set the value of themessage_send_ttl_seconds property in the POST /<PHONE_NUMBER_ID>/message_templates call.
You can change the TTL on a previously configured template using this method, as well.
TTL can be customized in 1 second increments.
Valid message_send_ttl_seconds property values
Authentication templates: 30 to 900 seconds (30 secs to 15 mins)
Utility templates: 30 to 43200 seconds (30 secs to 12 hours)
Marketing templates: 43200 to 2592000 (12 hours to 30 days)
For authentication and utility templates, you can set the message_send_ttl_seconds property value to -1, which will set a custom TTL of 30 days.

