Skip to main content
Solved

Fetch date of user's last activity or view via API

  • April 30, 2024
  • 2 replies
  • 40 views

Forum|alt.badge.img+3

Hello! We’re interested in pulling the last activity date and last view date of users in our community via API. Is this possible according to this Get User Activity documentation

Best answer by Kenneth R

Hey there @mbuuck1 - if you’re just looking for the “lastactivity” and/or “lastvisit” timestamps maybe it would be easier to use this or this endpoint instead?  The endpoint you linked to would get you a full list of activities, which may not be what you need if you just want the latest timestamps?

2 replies

Kenneth R
Forum|alt.badge.img+5
  • Expert ⭐️⭐️
  • Answer
  • May 6, 2024

Hey there @mbuuck1 - if you’re just looking for the “lastactivity” and/or “lastvisit” timestamps maybe it would be easier to use this or this endpoint instead?  The endpoint you linked to would get you a full list of activities, which may not be what you need if you just want the latest timestamps?


Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️
  • May 6, 2024

@Kenneth R Thanks for this guidance! We’ll start with those that you suggested, much appreciated.