Answered

Is it possible to get the user object and last login timestamp in a single GET request?

  • 23 December 2021
  • 2 replies
  • 12 views

Hi friends - I work for a company that wants to gather admin names, their inbox status, and their last login data from the API. Last login is stored separately in event logs. Is it possible to get user object + last login in a single GET request?

 

Basically, trying to simply the number of API calls we make. Making a call to the Admin is much better than making calls to both Admin + Event Audit Logs and doing surgery work to stitch those values together. Having Last Login data, account invited date, and account deleted date as properties of the user object would be very helpful.

icon

Best answer by Aparna 26 December 2021, 08:05

View original

2 replies

@mason t​ ! At the moment you would need to make two calls to get the admin details as mentioned by you. I will pass your feedback to our product team and flag a feature request.

Cheers, thanks Aparna!

Reply