API for Licensed Users?

Is there an API for the Licensensed user count? We are trying to get data on our license usage for daily, weekly, and monthly. Please see the screenshot.

Hi @seric

Thanks for reaching out to us! I am happy to help here.
Unfortunately, we do not have a specific endpoint you could call to get that count.
The only option that comes to my mind right now is calling the List users endpoint and loop through your users array and count the ones with type:2.

But I understand how this could be challenging because of the number of users you have…
Feel free to make a feature request here: