> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base44.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Count app users

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Returns how many users the app has. These are the people who signed up to it or were invited to it.

The count covers the users the calling credential can read, so a `User` entity whose row-level security rules narrow reads returns a smaller number than the app actually has.

It also leaves out accounts Base44 added to the app on its own, such as workspace admins and support staff granted access, and the short-lived accounts a test run creates.



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/User/count
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - ApiKeyAuth: []
paths:
  /api/apps/{app_id}/entities/User/count:
    get:
      summary: Count app users
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Returns how many users the app has. These are the people who signed up
        to it or were invited to it.


        The count covers the users the calling credential can read, so a `User`
        entity whose row-level security rules narrow reads returns a smaller
        number than the app actually has.


        It also leaves out accounts Base44 added to the app on its own, such as
        workspace admins and support staff granted access, and the short-lived
        accounts a test run creates.
      operationId: count_users_api_apps__app_id__entities_User_count_get
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            description: ID of the app whose users you want to count.
            title: App Id
          description: ID of the app whose users you want to count.
          example: 6820f3a4e7b91d003c45a1f2
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppUserCountResponse'
        '401':
          description: Missing or invalid credentials.
        '403':
          description: You don't have editor access to this app.
        '404':
          description: App not found.
        '429':
          description: >-
            Rate limit exceeded. This endpoint allows 100 requests per minute
            per app, shared with the app's other user listing calls.
components:
  schemas:
    AppUserCountResponse:
      properties:
        count:
          type: integer
          title: Count
          description: Number of the app's users you can read.
          example: 42
      type: object
      required:
        - count
      title: AppUserCountResponse
      description: The number of users registered in an app.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: Personal API key.

````