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

# Get all users on a team



## OpenAPI

````yaml /partner-swagger.yml get /reseller/teams/{teamId}/users
openapi: 3.0.0
info:
  title: Clerk Reseller / Partner API
  description: API For usage by Clerk Resellers and Partners
  version: '1.0'
  contact: {}
servers:
  - url: https://partners.clerk.chat
    description: Production server
security: []
tags: []
paths:
  /reseller/teams/{teamId}/users:
    get:
      tags:
        - reseller
      summary: Get all users on a team
      operationId: ResellerController_getUsers
      parameters:
        - name: teamId
          required: true
          in: path
          schema:
            type: string
        - name: query
          required: false
          in: query
          description: Search by name
          schema:
            type: string
        - name: skip
          required: false
          in: query
          description: How many to skip
          schema:
            type: number
        - name: take
          required: false
          in: query
          description: How many to return
          schema:
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResellerUserResponseDTO'
components:
  schemas:
    ResellerUserResponseDTO:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ResellerUserDTO'
        total:
          type: number
      required:
        - data
        - total
    ResellerUserDTO:
      type: object
      properties:
        id:
          type: string
        firstname:
          type: string
        lastname:
          type: string
        email:
          type: string
        created:
          format: date-time
          type: string
        updated:
          format: date-time
          type: string
        inboxes:
          type: array
          items:
            $ref: '#/components/schemas/ResellerInboxDTO'
        role:
          $ref: '#/components/schemas/ResellerRoleDTO'
        acceptedTermsOfService:
          type: boolean
      required:
        - id
        - firstname
        - lastname
        - email
        - created
        - updated
        - inboxes
        - role
        - acceptedTermsOfService
    ResellerInboxDTO:
      type: object
      properties:
        id:
          type: string
        phone:
          type: string
        externalId:
          type: string
        created:
          format: date-time
          type: string
        updated:
          format: date-time
          type: string
      required:
        - id
        - phone
        - externalId
        - created
        - updated
    ResellerRoleDTO:
      type: object
      properties:
        type:
          type: string
          enum:
            - workspace_owner
            - admin
            - agent
            - manager
            - member
      required:
        - type

````