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

# List identities

> Returns identities for a project with display fields, report counts, and timestamps.



## OpenAPI

````yaml /api-reference/openapi.json get /projects/{projectId}/identities
openapi: 3.1.0
info:
  title: Whistle SDK API
  description: >-
    HTTP API for the Whistle SDK. All endpoints are authenticated via an API key
    (`wh_…`) sent as a Bearer token. The API key is org-scoped — no organization
    slug or ID is needed in the URL.


    Base URL: `https://api.kansato.com/sdk/whistle/v1`


    Local development default: `http://localhost:3001/sdk/whistle/v1`
  version: 1.0.0
servers:
  - url: https://api.kansato.com/sdk/whistle/v1
    description: Production
  - url: http://localhost:3001/sdk/whistle/v1
    description: Local development (default PORT)
security:
  - apiKey: []
tags:
  - name: Reports
    description: Create, list, and manage moderation reports.
  - name: Identities
    description: Mirror user identities from your platform.
paths:
  /projects/{projectId}/identities:
    get:
      tags:
        - Identities
      summary: List identities
      description: >-
        Returns identities for a project with display fields, report counts, and
        timestamps.
      operationId: listIdentities
      parameters:
        - name: projectId
          in: path
          required: true
          description: Project UUID
          schema:
            type: string
      responses:
        '200':
          description: Identity list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentityListResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    IdentityListResponse:
      type: object
      required:
        - identities
      properties:
        identities:
          type: array
          items:
            $ref: '#/components/schemas/IdentityRow'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
    IdentityRow:
      type: object
      required:
        - id
        - externalId
        - projectId
        - type
        - name
        - username
        - avatarUrl
        - metadata
        - reportCount
        - lastSeenAt
        - lastReportedAt
        - displayName
        - handleLabel
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
        externalId:
          type: string
        projectId:
          type: string
        type:
          type: string
        name:
          type: string
          nullable: true
        username:
          type: string
          nullable: true
        avatarUrl:
          type: string
          nullable: true
        metadata: {}
        reportCount:
          type: integer
        lastSeenAt:
          type: string
          format: date-time
          nullable: true
        lastReportedAt:
          type: string
          format: date-time
          nullable: true
        displayName:
          type: string
        handleLabel:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API key with `wh_` prefix. Send as Bearer token: `Authorization: Bearer
        wh_xxxxxxxxxxxx`

````