Skip to main content
Solved

Can you pull User Login History from the Gainsight API?

  • May 8, 2024
  • 2 replies
  • 86 views

We would like to pull User Login History or at least Last Login Date from the Gainsight API, to facilitate internal reporting. There are things in G360 that aren’t calculated how we want them to be and we would like to centralize our software adoption reporting internally. 

Best answer by matthew_lind

Good question @taylorfriss , and welcome to the Community.

I admittedly don’t know if you can reach the User Login History Object via the Gainsight API. However, you definitely could take this two-step approach.

  1. Create a Horizon Rule which populates the Most Recent Login Date/Time onto the Gainsight User object.
  2. Utilize the User API to fetch that datapoint, and any other User object fields you’re interested in.

2 replies

matthew_lind
Forum|alt.badge.img+11
  • VIP ⭐️⭐️⭐️⭐️⭐️
  • Answer
  • May 8, 2024

Good question @taylorfriss , and welcome to the Community.

I admittedly don’t know if you can reach the User Login History Object via the Gainsight API. However, you definitely could take this two-step approach.

  1. Create a Horizon Rule which populates the Most Recent Login Date/Time onto the Gainsight User object.
  2. Utilize the User API to fetch that datapoint, and any other User object fields you’re interested in.

  • Author
  • Contributor ⭐️⭐️
  • May 14, 2024

Great Idea @matthew_lind - thank you!