Forum Discussion

Tyson's avatar
Tyson
Mentor
11 years ago

Last IP/Browser

Is there any way to retrieve a user's last IP address and browser via the API?  If not, I can start logging these into custom profile fields, but I just want to make sure I'm not missing anything tha...
  • Tyson's avatar
    11 years ago

    Lithium support came through with the answer, if you're curious:

     

    http://communitydomain/restapi/vc/users/id/useridgoeshere/settings/name/user.last_visit_ipaddress

    http://communitydomain/restapi/vc/users/id/useridgoeshere/settings/name/last_user_agent

     

    Thanks!

     

    Cheers,

    Tyson