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

# List Website Members

> Returns all users with access to a website — both organization members (implicit access to every website in the org) and users with explicit website-member rows. Each entry includes an `access_type` field (`organization` or `website`) so you can tell them apart. If a user has both an org membership and a stray website-member row, they appear once with `access_type: "organization"`. Accepts a global API key, or a website-scoped key if the website is in the key's allowlist.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/websites/{website_id}/members
openapi: 3.1.0
info:
  title: AthenaHQ API
  description: >-
    AthenaHQ API provides programmatic access to manage your websites and
    prompts for AI-powered content optimization.
  version: 1.0.0
  contact:
    email: support@athenahq.ai
servers:
  - url: https://api.athenahq.ai
    description: Production server
security:
  - apiKey: []
tags:
  - name: Basics
    description: Core API operations for managing websites and prompts
  - name: Metrics
    description: Metrics and analytics endpoints for tracking AI visibility
  - name: Billing
    description: Billing and credits endpoints for managing usage
  - name: Team Management
    description: Endpoints for managing team members and invitations
  - name: Groups
    description: Endpoints for managing groups of websites
  - name: Content
    description: >-
      Endpoints for accessing Content Hub data — tabs, tracked URLs, and per-URL
      prompt breakdowns.
  - name: Pitch Workspace
    description: >-
      Endpoints for accessing pitch workspace reports — org-scoped pitch runs
      with competitors, prompts, attributes, and aggregate metrics.
  - name: Knowledge Base
    description: >-
      Endpoints for reading the brand Knowledge Base — approved brand facts and
      the pillars that organize them.
paths:
  /api/v1/websites/{website_id}/members:
    parameters:
      - name: website_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The unique identifier of the website
    get:
      tags:
        - Team Management
      summary: List Website Members
      description: >-
        Returns all users with access to a website — both organization members
        (implicit access to every website in the org) and users with explicit
        website-member rows. Each entry includes an `access_type` field
        (`organization` or `website`) so you can tell them apart. If a user has
        both an org membership and a stray website-member row, they appear once
        with `access_type: "organization"`. Accepts a global API key, or a
        website-scoped key if the website is in the key's allowlist.
      operationId: listWebsiteMembers
      responses:
        '200':
          description: Successful response with the list of members
          content:
            application/json:
              schema:
                type: object
                properties:
                  members:
                    type: array
                    items:
                      $ref: '#/components/schemas/WebsiteMemberListItem'
                required:
                  - members
        '400':
          description: Bad request - Invalid website ID format
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - API key does not have access to this website
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Unauthorized access to this website
        '404':
          description: Not found - Website does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    WebsiteMemberListItem:
      type: object
      description: >-
        A user with access to a website. Includes both organization members
        (implicit access to every website in the org) and users with explicit
        website membership.
      required:
        - user_id
        - email
        - role
        - access_type
        - created_at
      properties:
        user_id:
          type: string
          format: uuid
          description: Unique identifier of the user
        email:
          type: string
          format: email
          description: The user's email address
        first_name:
          type: string
          nullable: true
          description: The user's first name, if set
        last_name:
          type: string
          nullable: true
          description: The user's last name, if set
        role:
          type: string
          description: >-
            The user's role. For `access_type: "organization"`, this is the
            organization role. For `access_type: "website"`, this is the
            per-website role. Each role is its slug — the role's normalized name
            (lowercase, no spaces): `admin`, `viewer`, `editor`, `billing`, or a
            custom role's id (e.g. `contentmanager`). `admin` and `viewer` are
            unchanged from prior versions.
        access_type:
          type: string
          enum:
            - organization
            - website
          description: >-
            How the user has access to the website. `organization` = implicit
            access via org membership. `website` = explicit website_members row.
        created_at:
          type: string
          format: date-time
          description: When the membership row was created (UTC)
    Error:
      type: object
      description: Error response object
      required:
        - error
      properties:
        error:
          type: string
          description: Error message describing what went wrong
          example: Unauthorized
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. You can create one
        [here](https://app.athenahq.ai/organization?tab=api).

````