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

# Get Team Members

> Get team member list

Retrieve a complete list of all members in your team, including their roles, permissions, status, and invitation details. This endpoint provides comprehensive member information for team management and access control.

## Use Cases

* **Team Dashboard**: Display current team members and their roles in your UI
* **Access Auditing**: Review who has access to your team workspace
* **Permission Management**: Check member roles before granting access to resources
* **Onboarding Status**: Track which invitations are pending acceptance
* **Compliance**: Generate reports of team access for security audits

## Response Information

For each team member, you'll receive:

* **User Details**: Email, name, and user ID
* **Role & Permissions**: Member role (owner, admin, member, viewer)
* **Status**: Active, pending invitation, or suspended
* **Timestamps**: When they joined and last active
* **Invitation Details**: For pending members, when invited and by whom

## Member Statuses

* **Active**: Member has accepted invitation and has full access
* **Pending**: Invitation sent but not yet accepted
* **Suspended**: Member access temporarily disabled

<Note>
  Only team members with appropriate permissions can view the full team member list. Viewers may have restricted access to certain member details.
</Note>

<Tip>
  Use this endpoint to verify team composition before performing bulk operations or sending team-wide notifications.
</Tip>


## OpenAPI

````yaml get /v1/user/team/member
openapi: 3.1.0
info:
  title: PDCP API
  version: '1.0'
  summary: ProjectDiscovery Cloud Platform
  description: >-
    For more details, checkout
    https://docs.projectdiscovery.io/api-reference/editor/scan
servers:
  - url: https://api.projectdiscovery.io
    description: Production
  - url: https://api.dev.projectdiscovery.io
    description: Development
  - url: http://localhost:8085
    description: Localhost
security:
  - X-API-Key: []
paths:
  /v1/user/team/member:
    get:
      tags:
        - internal
      summary: Get Team Members
      description: Get team member list
      operationId: get-v1-user-team-member
      parameters:
        - schema:
            type: string
          in: header
          description: >-
            Retrieve the Team ID from:
            https://cloud.projectdiscovery.io/settings/team
          name: X-Team-Id
      responses:
        '200':
          $ref: '#/components/responses/GetTeamMembersResponse'
        '401':
          $ref: '#/components/responses/ErrorResponse'
        '403':
          $ref: '#/components/responses/ErrorResponse'
        '500':
          $ref: '#/components/responses/ErrorResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
        - X-API-Key: []
components:
  responses:
    GetTeamMembersResponse:
      description: Example response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              max_team_members:
                type: integer
              members:
                type: array
                items:
                  $ref: '#/components/schemas/TeamMemberItem'
            required:
              - message
              - members
              - max_team_members
    ErrorResponse:
      description: Example response
      content:
        application/json:
          schema:
            type: object
            required:
              - message
            properties:
              message:
                type: string
              kind:
                type: string
              code:
                type: string
              error:
                type: string
              error_id:
                type: string
              param:
                type: string
              status:
                type: integer
  schemas:
    TeamMemberItem:
      title: TeamMemberItem
      type: object
      properties:
        email:
          type: string
        status:
          type: string
        role:
          type: string
          description: Team member role. Values are OWNER, ADMIN, MEMBER, VIEWER, GUEST.
        invited_at:
          type: string
        accepted_at:
          type: string
        profile_image:
          type: string
        last_sign_in:
          type: string
      required:
        - email
        - status
        - role
  securitySchemes:
    X-API-Key:
      name: X-API-Key
      type: apiKey
      in: header

````