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

# List all users

> Lists all users in the current organisation. The users are returned sorted by name.



## OpenAPI

````yaml api-reference/api.json get /2025-04/users
openapi: 3.1.0
info:
  title: PullRule
  version: 0.0.1
servers:
  - url: https://pullrule.com/api
    description: Production
security:
  - http: []
tags:
  - name: Account
  - name: Members
  - name: Pull requests
  - name: Rules
  - name: Users
paths:
  /2025-04/users:
    get:
      tags:
        - Users
      summary: List all users
      description: >-
        Lists all users in the current organisation. The users are returned
        sorted by name.
      operationId: v202504.users.index
      responses:
        '200':
          description: Paginated set of `User`
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/User'
                  meta:
                    type: object
                    properties:
                      path:
                        type:
                          - string
                          - 'null'
                        description: Base path for paginator generated URLs.
                      per_page:
                        type: integer
                        description: Number of items shown per page.
                      next_cursor:
                        type:
                          - string
                          - 'null'
                        description: The "cursor" that points to the next set of items.
                      prev_cursor:
                        type:
                          - string
                          - 'null'
                        description: The "cursor" that points to the previous set of items.
                    required:
                      - path
                      - per_page
                      - next_cursor
                      - prev_cursor
                  links:
                    type: object
                    properties:
                      first:
                        type:
                          - string
                          - 'null'
                      last:
                        type:
                          - string
                          - 'null'
                      prev:
                        type:
                          - string
                          - 'null'
                        format: uri
                      next:
                        type:
                          - string
                          - 'null'
                        format: uri
                    required:
                      - first
                      - last
                      - prev
                      - next
                required:
                  - data
                  - links
                  - meta
        '401':
          $ref: '#/components/responses/AuthenticationException'
components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the object.
        name:
          type: string
          description: The name of the user.
        email:
          type: string
          description: The email address of the user.
        profile_photo_url:
          type: string
          description: The profile photo URL of the user.
        created_at:
          type: integer
          description: >-
            Time at which the object was created. Measured in seconds since the
            Unix epoch.
      required:
        - id
        - name
        - email
        - profile_photo_url
        - created_at
      title: User
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
  securitySchemes:
    http:
      type: http
      scheme: bearer

````