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

# List people

> List people with aggregated message statistics across all their platform identities



## OpenAPI

````yaml /api-reference/openapi.json get /people
openapi: 3.1.1
info:
  description: >-
    The public Modem API. Authenticate with an organization API key:
    `Authorization: Bearer modem_…`.
  title: Modem API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.modem.dev/v1
security:
  - bearerAuth: []
paths:
  /people:
    get:
      tags:
        - People
      summary: List people
      description: >-
        List people with aggregated message statistics across all their platform
        identities
      operationId: people.list
      parameters:
        - allowEmptyValue: true
          allowReserved: true
          in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMinimum: 0
            type: integer
        - allowEmptyValue: true
          allowReserved: true
          in: query
          name: limit
          required: false
          schema:
            default: 50
            exclusiveMinimum: 0
            maximum: 100
            type: integer
        - allowEmptyValue: true
          allowReserved: true
          in: query
          name: search
          required: false
          schema:
            minLength: 1
            type: string
        - allowEmptyValue: true
          allowReserved: true
          in: query
          name: sortBy
          required: false
          schema:
            default: lastSeen
            enum:
              - lastSeen
              - messageCount
            type: string
        - allowEmptyValue: true
          allowReserved: true
          in: query
          name: sortOrder
          required: false
          schema:
            default: desc
            enum:
              - asc
              - desc
            type: string
        - allowEmptyValue: true
          allowReserved: true
          explode: true
          in: query
          name: ecosystemTags
          required: false
          schema:
            description: Filter by ecosystem tags (OR match)
            items:
              minLength: 1
              type: string
            type: array
          style: deepObject
        - allowEmptyValue: true
          allowReserved: true
          in: query
          name: companyId
          required: false
          schema:
            description: Filter to people currently associated with this company
            pattern: ^\d+$
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    items:
                      properties:
                        avatarUrl:
                          anyOf:
                            - format: uri
                              type: string
                            - type: 'null'
                          description: Avatar image URL for the person.
                          title: Avatar URL
                        company:
                          anyOf:
                            - properties:
                                domain:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                id:
                                  type: string
                                logoUrl:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                name:
                                  type: string
                              required:
                                - domain
                                - id
                                - logoUrl
                                - name
                              type: object
                            - type: 'null'
                        displayName:
                          description: Display name for the person.
                          title: Display Name
                          type: string
                        id:
                          pattern: ^\d+$
                          type: string
                        identities:
                          items:
                            properties:
                              platform:
                                pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
                                type: string
                              platformId:
                                type: string
                            required:
                              - platform
                              - platformId
                            type: object
                          type: array
                        identityCount:
                          type: integer
                        isVip:
                          type: boolean
                        lastSeenAt:
                          anyOf:
                            - format: date-time
                              type: string
                            - type: 'null'
                        latestTopic:
                          anyOf:
                            - properties:
                                lastMessageAt:
                                  format: date-time
                                  type: string
                                topicId:
                                  anyOf:
                                    - format: uuid
                                      type: string
                                    - format: uuid
                                      type: string
                                topicTitle:
                                  type: string
                                topicType:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                              required:
                                - topicId
                                - topicTitle
                                - topicType
                              type: object
                            - type: 'null'
                        messageCount:
                          type: integer
                        primaryEmail:
                          anyOf:
                            - format: email
                              type: string
                            - type: 'null'
                        sources:
                          items:
                            pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
                            type: string
                          type: array
                        title:
                          anyOf:
                            - type: string
                            - type: 'null'
                        weeklyActivity:
                          items:
                            type: integer
                          type: array
                      required:
                        - avatarUrl
                        - company
                        - displayName
                        - id
                        - identities
                        - identityCount
                        - isVip
                        - latestTopic
                        - messageCount
                        - primaryEmail
                        - sources
                        - title
                        - weeklyActivity
                      type: object
                    type: array
                  limit:
                    description: The page size used for this response.
                    exclusiveMinimum: 0
                    type: integer
                  page:
                    description: The 1-based page number returned.
                    exclusiveMinimum: 0
                    type: integer
                  totalCount:
                    description: >-
                      Total number of items matching the query, across all
                      pages.
                    minimum: 0
                    type: integer
                required:
                  - data
                  - limit
                  - page
                  - totalCount
                type: object
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Invalid request (validation failed).
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid API key.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: The API key does not have access to this resource.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: The requested resource was not found.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Rate limit exceeded.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error.
components:
  schemas:
    Error:
      properties:
        code:
          description: Machine-readable error code, e.g. `NOT_FOUND`.
          examples:
            - NOT_FOUND
          type: string
        data:
          description: Optional structured error details.
        defined:
          description: True if the error was declared in the procedure contract.
          type: boolean
        message:
          description: Human-readable error message.
          type: string
        status:
          description: HTTP status code.
          examples:
            - 404
          type: integer
      required:
        - code
        - defined
        - message
        - status
      type: object
  securitySchemes:
    bearerAuth:
      description: Organization API key (`modem_…`).
      scheme: bearer
      type: http

````