# 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:** 7

<div class="post-metadata">

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

</div>

I would expect a user viewing something via API to be the same as if they hit that API via their browser.

I feel like that is an exception to the principle of least surprise.

I understand why that decision was made, but perhaps we could accept a HTTP header or parameter that indicates if we want to treat the user as a regular user?

---

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