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

# List organization members

> Lists registered users and pending invitations in the caller's workspace.



## OpenAPI

````yaml /openapi/admin-users.json get /platform/v1/admin/users
openapi: 3.0.3
info:
  title: Qodo API
  version: '2026-09-03'
  description: >-
    Use the User management API to list, invite, update, and remove members in
    your Qodo organization. The API is currently available for eligible
    single-tenant organizations. Qodo must enable API access for your
    organization before you can use these endpoints.


    Authenticate with a personal `sk-` API key that belongs to an organization
    owner. See [Set up the User management
    API](/account-management/user-management-api).


    The `/platform/v1` segment versions the API contract. It is independent of
    the Qodo 1.x and Qodo 2.x product documentation versions.
servers:
  - url: https://qodo-platform.{tenant}.st.qodo.ai
    description: Your Qodo single-tenant API host
    variables:
      tenant:
        default: your-tenant
        description: >-
          Replace this value with your Qodo tenant subdomain before sending a
          request.
security:
  - bearerAuth: []
tags:
  - name: API reference
    description: >-
      Manage registered users and pending invitations. Organization owner access
      is required.
paths:
  /platform/v1/admin/users:
    get:
      tags:
        - API reference
      summary: List organization members
      description: >-
        Lists registered users and pending invitations in the caller's
        workspace.
      operationId: listOrganizationMembers
      parameters:
        - $ref: '#/components/parameters/RequestId'
        - name: page
          in: query
          description: 1-based page number.
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: page_size
          in: query
          description: Number of members per page.
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: search
          in: query
          description: Filter by enterprise user name or email address.
          schema:
            type: string
            default: ''
        - name: team_id
          in: query
          description: Filter by team ID.
          schema:
            type: string
        - name: member_type
          in: query
          description: Filter by registered users or pending invitations.
          schema:
            $ref: '#/components/schemas/MemberType'
      responses:
        '200':
          description: A paginated list of members.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberPage'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          $ref: '#/components/responses/PortalRedirect'
        '422':
          $ref: '#/components/responses/ValidationError'
        '501':
          $ref: '#/components/responses/NotSupported'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    RequestId:
      name: request-id
      in: header
      required: false
      description: A unique request ID generated by the client for request tracing.
      schema:
        type: string
  schemas:
    MemberType:
      type: string
      enum:
        - user
        - invite
      description: Whether the member is a registered user or a pending invitation.
    MemberPage:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Member'
        total:
          type: integer
          minimum: 0
        page:
          type: integer
          minimum: 1
        size:
          type: integer
          minimum: 1
          maximum: 100
        pages:
          type: integer
          minimum: 0
      required:
        - items
        - total
        - page
        - size
        - pages
    Member:
      type: object
      properties:
        member_id:
          type: string
          description: Use this value in the get, update, and remove member endpoints.
        email:
          type: string
          format: email
        name:
          type: string
          nullable: true
        type:
          $ref: '#/components/schemas/MemberType'
        last_login:
          type: string
          format: date-time
          nullable: true
        team:
          type: object
          allOf:
            - $ref: '#/components/schemas/Team'
          nullable: true
        team_role:
          type: string
          allOf:
            - $ref: '#/components/schemas/TeamPermission'
          nullable: true
        is_organization_owner:
          type: boolean
        linked_git_accounts:
          type: array
          items:
            $ref: '#/components/schemas/GitProvider'
          nullable: true
        enterprise_user_name:
          type: string
          nullable: true
        baseUrl:
          type: string
          nullable: true
      required:
        - member_id
        - email
        - type
        - team_role
        - is_organization_owner
    HttpError:
      type: object
      properties:
        detail:
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
      required:
        - detail
    PortalRedirectError:
      type: object
      properties:
        detail:
          type: object
          properties:
            redirectTo:
              type: string
              format: uri
          required:
            - redirectTo
      required:
        - detail
    ValidationError:
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorDetail'
      required:
        - detail
    Team:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
          nullable: true
      required:
        - id
    TeamPermission:
      type: string
      enum:
        - owner
        - user
    GitProvider:
      type: string
      enum:
        - github
        - gitlab
        - bitbucket
        - azure
    ValidationErrorDetail:
      type: object
      properties:
        type:
          type: string
        loc:
          type: array
          items:
            oneOf:
              - type: string
              - type: integer
        msg:
          type: string
      required:
        - type
        - loc
        - msg
  responses:
    Unauthorized:
      description: The bearer credential or authenticated identity is invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HttpError'
    Forbidden:
      description: >-
        The caller is not an organization owner, lacks workspace context, or API
        access is not enabled for the organization.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HttpError'
    PortalRedirect:
      description: >-
        The single-tenant identity flow returned another Qodo tenant host.
        Inspect `detail.redirectTo`, but do not forward credentials
        automatically.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PortalRedirectError'
    ValidationError:
      description: Request validation failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
    NotSupported:
      description: The User management API is not supported for this deployment.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HttpError'
    Unavailable:
      description: API availability or authorization could not be verified.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HttpError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk-
      description: >-
        A personal `sk-` API key that belongs to an organization owner. Send it
        as `Authorization: Bearer sk-...`. See [Set up the User management
        API](/account-management/user-management-api).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.