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

# List Members

> Returns all members of the current account with their user details
and assigned roles.
Requires `team:view` permission.




## OpenAPI

````yaml GET /api/accounts/current/members
openapi: 3.1.0
info:
  title: Naturalead Accounts & Teams API
  version: 1.0.0
  description: >
    API for managing accounts, team members, and RBAC roles in the Naturalead
    platform.

    All endpoints require API key authentication and are scoped to the caller's
    account.
servers:
  - url: '{baseUrl}'
    description: API server
    variables:
      baseUrl:
        default: http://localhost:3001
security:
  - BearerAuth: []
tags:
  - name: Accounts
    description: Account profile and settings
  - name: Team
    description: Team member management and role assignment
  - name: Roles
    description: RBAC role and permission introspection
paths:
  /api/accounts/current/members:
    get:
      tags:
        - Team
      summary: List team members
      description: |
        Returns all members of the current account with their user details
        and assigned roles.
        Requires `team:view` permission.
      operationId: listMembers
      responses:
        '200':
          description: List of team members
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Member'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    Member:
      type: object
      properties:
        _id:
          type: string
        clerkUserId:
          type: string
        email:
          type: string
          format: email
        firstName:
          type: string
        lastName:
          type: string
        roles:
          type: array
          items:
            type: string
            enum:
              - owner
              - integrator
              - ai_architect
              - operator
              - analyst
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
      required:
        - error
  responses:
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token using an API key (format nl_live_* or nl_test_*)

````