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

# List organization users

> Retrieve all users who are members of the current organization.

**User Information Includes**:
- Basic user profile data (name, email, status)
- Organizational role (Owner, Manager, Collector, Viewer)
- Site assignments and access permissions
- Join date and invitation status
- Last activity and login information

**Permission Context**:
Requires site viewer permissions or higher. Results are filtered based on the requesting user's permissions:
- Owners and Managers see all organization users
- Collectors and Viewers see users within their site hierarchy

**Use Cases**:
- User management interfaces
- Team collaboration features
- Permission and access control administration
- Organizational reporting and analytics

This endpoint supports organizational user management and helps administrators understand team structure and access patterns.



## OpenAPI

````yaml https://app.azalt.co/api/v1/openapi.json get /organizations/current/users
openapi: 3.0.3
info:
  title: Erguvan Public API
  version: 1.0.0
servers:
  - url: https://app.azalt.co/api/v1
security: []
paths:
  /organizations/current/users:
    get:
      tags:
        - Organization
      summary: List organization users
      description: >-
        Retrieve all users who are members of the current organization.


        **User Information Includes**:

        - Basic user profile data (name, email, status)

        - Organizational role (Owner, Manager, Collector, Viewer)

        - Site assignments and access permissions

        - Join date and invitation status

        - Last activity and login information


        **Permission Context**:

        Requires site viewer permissions or higher. Results are filtered based
        on the requesting user's permissions:

        - Owners and Managers see all organization users

        - Collectors and Viewers see users within their site hierarchy


        **Use Cases**:

        - User management interfaces

        - Team collaboration features

        - Permission and access control administration

        - Organizational reporting and analytics


        This endpoint supports organizational user management and helps
        administrators understand team structure and access patterns.
      operationId: listOrganizationUsers
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                      nullable: true
                    email:
                      type: string
                    image:
                      type: string
                      nullable: true
                    phone:
                      type: string
                      nullable: true
                    status:
                      type: string
                    role:
                      type: string
                      enum:
                        - COLLECTOR
                        - APPROVER
                        - VIEWER
                        - MANAGER
                        - OWNER
                    createdAt:
                      type: string
                    lastLoginAt:
                      type: string
                      nullable: true
                    ownerId:
                      type: string
                    invitationExpiresAt:
                      type: string
                      nullable: true
                    assignedSites:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          name:
                            type: string
                        required:
                          - id
                          - name
                  required:
                    - id
                    - email
                    - phone
                    - status
                    - role
                    - createdAt
                    - lastLoginAt
                    - ownerId
                    - assignedSites
        '401':
          description: Authorization not provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.UNAUTHORIZED'
        '403':
          description: Insufficient access
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.FORBIDDEN'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.INTERNAL_SERVER_ERROR'
      security:
        - Authorization: []
components:
  schemas:
    error.UNAUTHORIZED:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Authorization not provided
        code:
          type: string
          description: The error code
          example: UNAUTHORIZED
        issues:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
          description: An array of issues that were responsible for the error
          example: []
      required:
        - message
        - code
      title: Authorization not provided error (401)
      description: The error information
      example:
        code: UNAUTHORIZED
        message: Authorization not provided
        issues: []
    error.FORBIDDEN:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Insufficient access
        code:
          type: string
          description: The error code
          example: FORBIDDEN
        issues:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
          description: An array of issues that were responsible for the error
          example: []
      required:
        - message
        - code
      title: Insufficient access error (403)
      description: The error information
      example:
        code: FORBIDDEN
        message: Insufficient access
        issues: []
    error.INTERNAL_SERVER_ERROR:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Internal server error
        code:
          type: string
          description: The error code
          example: INTERNAL_SERVER_ERROR
        issues:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
          description: An array of issues that were responsible for the error
          example: []
      required:
        - message
        - code
      title: Internal server error error (500)
      description: The error information
      example:
        code: INTERNAL_SERVER_ERROR
        message: Internal server error
        issues: []
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````