How to get the number of users in the site?

We are developing a forge app where we need to limit the access of services based on the users count.

EDIT:

I have implemented the chatGPT in my forge app where the site admin creates and manages the content for their users. Currently i didn’t set any usage restriction for the users (admins) to make use of it now. We can’t serve this chatGPT integration to access unlimitedly to all users since it wasn’t free.

We want to make it related to number of requests per day/month based on the number of users in their atlassian site. For example, if they have 500+ users we will give different limit than the other site where it has 100+ users.

We required a rest api to get the number of users in “abc.atlassian.net” if they installed our app in their site.

Hope you got understand our requirements clearly.

Hi @rajagopal ,

I can see you’ve asked the question in the title of this topic and have linked to an API, but can you explain the use case, what you need and what you’ve tried so far in more detail.

Without this extra level of detail, it’s difficult for the developer community to help.

Regards,
Dugald

1 Like

Hi @dmorrow ,

I have implemented the chatGPT in my forge app where the site admin creates and manages the content for their users. Currently i don’t set any usage restriction for the users (admins) to make use of it. We can’t serve this chatGPT integration to access unlimitedly to all users since it wasn’t free.

We want to make it related to number of users in using their atlassian site. For example, if they have 100+ users we will give different limit than the site where they have 200+ users.

Hope you got understand our requirements clearly.

Hi, any update on this?

Hi @rajagopal

We’ve responded to the ticket that you’ve raised with Developer support regarding this.

We have the following open suggestion to track this request.

Thank you @NashidFarhad for pointing me to the similar request raised before. Waiting for your team to support this.