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

# List members

> Active members and pending invitations in one list, distinguished by `status`.

**Never returns a token or `inviteUrl`** — only a hash is stored, so the link is not derivable after the fact. To get a link for a pending invitation, use `resend`.



## OpenAPI

````yaml openapi.json GET /v1/workspace/members
openapi: 3.1.0
info:
  title: Pilot Status API
  version: 1.0.0
  license:
    name: Pilot Status Terms of Service
    url: https://pilotstatus.com.br/terms
  description: >-
    Public REST API for Pilot Status. Authenticate with the `x-api-key: ps_...`
    header (or `x-api-key-id`). Base URL: https://pilotstatus.com.br
servers:
  - url: https://pilotstatus.com.br
security:
  - apiKey: []
  - apiKeyId: []
paths:
  /v1/workspace/members:
    get:
      tags:
        - Workspace
      summary: List members
      description: >-
        Active members and pending invitations in one list, distinguished by
        `status`.


        **Never returns a token or `inviteUrl`** — only a hash is stored, so the
        link is not derivable after the fact. To get a link for a pending
        invitation, use `resend`.
      operationId: get_workspace-members
      responses:
        '200':
          description: Members and invitations
          content:
            application/json:
              schema:
                type: object
                properties:
                  members:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: mb_1a2b
                        email:
                          type: string
                          example: alguem@acme.com
                        name:
                          type:
                            - string
                            - 'null'
                        role:
                          type: string
                          enum:
                            - OWNER
                            - ADMIN
                            - AGENT
                            - ANALYST
                        status:
                          type: string
                          enum:
                            - PENDING
                            - ACTIVE
                        allowedNumberIds:
                          type: array
                          items:
                            type: string
                        invitedAt:
                          type: string
                          format: date-time
                        joinedAt:
                          type:
                            - string
                            - 'null'
                          format: date-time
                        inviteExpiresAt:
                          type:
                            - string
                            - 'null'
                          format: date-time
                        inviteExpired:
                          type: boolean
                          description: >-
                            `true` when the invitation has expired: the row
                            exists but no longer holds a seat.
                  seats:
                    type: object
                    properties:
                      ocupados:
                        type: integer
                      limite:
                        type: integer
                      disponiveis:
                        type: integer
        '403':
          description: Insufficient role, wrong credential, or invitations disabled.
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your ps_ API key
    apiKeyId:
      type: apiKey
      in: header
      name: x-api-key-id
      description: API key id (alternative to x-api-key)

````