<p>24 hours by default, but it can be configured via the <code>defaultTokenDuration</code> config setting.</p>

<ul>
<li><a href="https://docs.craftcms.com/v2/config-settings.html#defaulttokenduration" rel="noreferrer">v2 documentation</a></li>
<li><a href="https://docs.craftcms.com/v3/config/config-settings.html#defaulttokenduration" rel="noreferrer">v3 documentation</a></li>
</ul>

CC BY-SA 4.0
2019-07-02T00:46:54.090Z
Hi Brad, is there anywhere else in Craft other than the share link using this time token thing? I'm just trying to figure out what would be the impact of changing the duration setting.
Wei
CC BY-SA 4.0
2017-09-14T15:09:41.163Z
2018-10-03T21:19:55.567Z
2018-10-03T21:19:55.567Z
Brad Bell
<p>We're noticing that links to hidden entries that are shared via token (share button) eventually expire.</p>

<p>How long do these links last? Is there a setting to adjust how long the token will last?</p>

<link><editing><token>
How long does the share link on the entry edit screen last?
# How long does the share link on the entry edit screen last?

(Asked by: username_0 on 2017-09-14)

We're noticing that links to hidden entries that are shared via token (share button) eventually expire.

How long do these links last? Is there a setting to adjust how long the token will last?

**Tags:** link, editing, token

---

## 1 answers

### Answer by username_1 on 2017-09-14. Score: 6 | Accepted answer

24 hours by default, but it can be configured via the `defaultTokenDuration` config setting.

* [v2 documentation](https://docs.craftcms.com/v2/config-settings.html#defaulttokenduration)
* [v3 documentation](https://docs.craftcms.com/v3/config/config-settings.html#defaulttokenduration)

> **Comments:**
> **username_2**: Hi Brad, is there anywhere else in Craft other than the share link using this time token thing? I'm just trying to figure out what would be the impact of changing the duration setting.  

---

