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

# Retrieve Person

> Retrieves one person for an account, aggregated from pixel events.



## OpenAPI

````yaml /openapi/api-v1-native.yml get /people/{person_id}
openapi: 3.1.0
info:
  title: Whop API
  description: >-
    Hand-written V1 endpoints. Merged into the GraphqlRestProxy-generated schema
    at build time.
  version: v1
servers:
  - url: https://{defaultHost}
    variables:
      defaultHost:
        default: api.whop.com/api/v1
security: []
paths:
  /people/{person_id}:
    get:
      tags:
        - People
      summary: Retrieve Person
      description: Retrieves one person for an account, aggregated from pixel events.
      operationId: retrievePerson
      parameters:
        - name: person_id
          in: path
          schema:
            type: string
          required: true
          description: The ID of the person.
        - name: account_id
          in: query
          schema:
            type: string
          required: false
          description: >-
            The ID of the account, which will look like biz_*************.
            Optional for account API keys; required for credentials that can
            access multiple accounts.
        - name: from
          in: query
          schema:
            type: integer
          required: false
          description: Start of the time range as a Unix timestamp.
        - name: to
          in: query
          schema:
            type: integer
          required: false
          description: End of the time range as a Unix timestamp. Defaults to now.
      responses:
        '200':
          description: person retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      person_id:
                        type: string
                      name:
                        type:
                          - string
                          - 'null'
                      email:
                        type:
                          - string
                          - 'null'
                      phone:
                        type:
                          - string
                          - 'null'
                      first_seen_at:
                        type: integer
                      last_seen_at:
                        type: integer
                      purchase_count:
                        type: integer
                      has_failed_payment:
                        type: boolean
                      ltv:
                        type: number
                      aov:
                        type: number
                      campaigns:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type:
                                - string
                                - 'null'
                            thumbnail_url:
                              type:
                                - string
                                - 'null'
                          required:
                            - id
                      ad_sets:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type:
                                - string
                                - 'null'
                            thumbnail_url:
                              type:
                                - string
                                - 'null'
                          required:
                            - id
                      ads:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type:
                                - string
                                - 'null'
                            thumbnail_url:
                              type:
                                - string
                                - 'null'
                          required:
                            - id
                    required:
                      - id
                      - person_id
                      - first_seen_at
                      - last_seen_at
                      - purchase_count
                required:
                  - data
        '401':
          $ref: '#/components/responses/Unauthorized'
          description: missing or invalid authentication
      security:
        - bearerAuth:
            - company:basic:read
            - member:basic:read
            - member:journey:read
components:
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/V1ErrorResponse'
  schemas:
    V1ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              description: Machine-readable error code.
            message:
              type: string
              description: Human-readable error message.
          required:
            - type
            - message
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: auth-scheme
      description: >-
        An account API key, account scoped JWT, app API key, or user OAuth
        token.

````