# Request from API doesn't update User#last\_seen\_at

**URL:** <https://meta.discourse.org/t/request-from-api-doesnt-update-user-last-seen-at/108528>\
**Category:** Product Support\
**Created:** [February 6, 2019, 7:56pm UTC](https://meta.discourse.org/t/request-from-api-doesnt-update-user-last-seen-at/108528 "2019-02-06T19:56:10Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [February 15, 2019, 3:05pm UTC](https://meta.discourse.org/t/request-from-api-doesnt-update-user-last-seen-at/108528/8 "2019-02-15T15:05:54Z")

</div>

> [@eviltrout](#):
>
> perhaps we could accept a HTTP header or parameter that indicates if we want to treat the user as a regular user

👍 we have the DISCOURSE\_VISIBLE header for XHR requests, we could certainly make that work on API requests as well.

---

_[View the full topic](https://meta.discourse.org/t/request-from-api-doesnt-update-user-last-seen-at/108528)._
