# Message time to live

This is the number of seconds a notification will be held by the Web Push providers (e.g. Google or Apple) before being delivered to your subscribers if their device is not online by the time of sending. If the user does not come online within the provided time, the notification will get removed and will not show to the subscriber.&#x20;

In each type of campaign there is the option of time to life. For most notifications campaigns we recommend to use a time to life of 1 week, which is the default in our platform. The maximum TTL is 4 weeks (2419200 seconds).

![](/files/-Ln8M5G5QK5KRHRpBbVu)

For example, if you set TTL to 10 hours (36000 seconds) and my device is offline for 10 hours and 1 second or longer, I will not get the notification.

{% hint style="info" %}
The time to life for scheduled notifications is counted from the moment in the  when the campaign is sent, and not from the moment when the campaign is created.
{% endhint %}

{% hint style="info" %}
Setting a time to life to a low value reduces the number of deliveries and clicks.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://push-help.sare.pl/campaigns/message-time-to-live.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
