Glossary · Delivery
TTL (time to live)
TTL is how long a push service keeps trying to deliver a message to a device it can't reach before dropping it. A short TTL means "only if it's still useful"; a TTL of zero means "now or never".
Also called time to live, expiry, expiration
The 9:00 AM message that arrives at 11:40 PM
A phone that's off, in airplane mode or out of signal can't receive anything. The push service holds the message and delivers it when the phone comes back. That's right for a chat message and wrong for "Good morning, here's today's lesson". Without a TTL that matches the message, a phone that was off all day gets the morning reminder at night.
One phone · Berlin · local time
One phone in Berlin, offline from 8:30 AM to 11:30 PM. A message sent at 9:00 AM with a TTL of 4 weeks is delivered at 11:40 PM, no longer true. With a TTL of 4 hours it expires at 1:00 PM and is never shown.
What each service does if you don't say
- FCM (Android):
android.ttlin seconds. Default and maximum: four weeks. - APNs (iOS):
apns-expiration, a Unix timestamp.0means try once and don't store. Without it, APNs stores the notification for a period Apple decides. - Web push: the
TTLheader, in seconds, is required on every request by the Web Push standard.0means deliver only if the browser is connected right now. - Email has no TTL: a message that bounces is retried by the sending server for hours, then returned.
{ "message": { "token": "…", "android": { "ttl": "14400s" },
"apns": { "headers": { "apns-expiration": "1792054800" } } } } Match it to how long the message stays true
- Time-of-day messages (a morning lesson, an evening summary): a few hours.
- Event messages (a live score, a class starting): until the event is over, and pair it with a collapse key so only the latest one survives.
- Messages that stay true (a reply, an order shipped): a day or longer.
- Two-factor codes and alarms: minutes, or zero.
In Oricato
Every message has a TTL: one day by default, up to 28 days. Time-of-day messages default to four hours, so a 9:00 AM message never lands at night.
- Local-time sends go out in slices, one per UTC offset. Each slice gets what's left of the TTL when it's built, not a fresh one.
- If a slice is somehow built after its message has expired (beyond a 10-minute grace), Oricato doesn't send it and records it as skipped, so the report shows it instead of hiding it.
- On iOS, a TTL of zero becomes
apns-expiration: 0.
Composer delivery panel: send at 9:00 AM in each person's time zone, expires after 4 hours, the default for time-of-day messages, up to 28 days.
Related terms
- Collapse keykeep only the latest version while a device is offline.
- Local-time deliveryone clock time, every time zone.
- Send push notifications in local timethe full guide.
Sources Firebase, "Setting the lifespan of a message"; Apple, "Sending notification requests to APNs"; RFC 8030 §5.2 (read Oct 16, 2026).