> ## 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.

# Listar membros

> Membros ativos e convites pendentes numa lista só, distinguidos por `status`.

**Nunca devolve token nem `inviteUrl`** — guardamos apenas o hash, então o link não é derivável depois. Para obter um link de convite pendente, use o `resend`.



## OpenAPI

````yaml openapi.pt.json GET /v1/workspace/members
openapi: 3.1.0
info:
  title: API Pilot Status
  version: 1.0.0
  license:
    name: Pilot Status Terms of Service
    url: https://pilotstatus.com.br/terms
  description: >-
    API REST pública do Pilot Status. Autentique com o header `x-api-key:
    ps_...` (ou `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: Listar membros
      description: >-
        Membros ativos e convites pendentes numa lista só, distinguidos por
        `status`.


        **Nunca devolve token nem `inviteUrl`** — guardamos apenas o hash, então
        o link não é derivável depois. Para obter um link de convite pendente,
        use o `resend`.
      operationId: get_workspace-members
      responses:
        '200':
          description: Membros e convites
          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` quando o convite venceu: a linha existe mas
                            não ocupa assento.
                  seats:
                    type: object
                    properties:
                      ocupados:
                        type: integer
                      limite:
                        type: integer
                      disponiveis:
                        type: integer
        '403':
          description: Papel insuficiente, credencial errada ou convites desabilitados.
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Sua chave de API ps_
    apiKeyId:
      type: apiKey
      in: header
      name: x-api-key-id
      description: Id da chave de API (alternativa ao x-api-key)

````