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

# Look Up Person

> Retrieves one people record by email, LinkedIn URL, or phone number.



## OpenAPI

````yaml GET /public/people/lookup
openapi: 3.0.3
info:
  title: RevyOps API
  version: 1.0.0
servers:
  - url: https://app.revyops.com/api
security:
  - ApiKeyAuth: []
paths:
  /public/people/lookup:
    get:
      tags:
        - public
      description: Retrieves one people record by email, LinkedIn URL, or phone number.
      operationId: Get person by identifier
      parameters:
        - in: query
          name: email
          schema:
            type: string
          description: Email to look up. Provide exactly one identifier.
        - in: query
          name: linkedin_url
          schema:
            type: string
          description: LinkedIn URL to look up. Provide exactly one identifier.
        - in: query
          name: phone
          schema:
            type: string
          description: Phone number to look up. Provide exactly one identifier.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PersonPublic'
          description: OK. The people record was successfully retrieved.
        '400':
          description: Bad Request. Provide exactly one valid identifier.
        '403':
          description: Forbidden. Missing authentication credentials or invalid API key.
        '404':
          description: No people record exists for the specified identifier.
        '500':
          description: Internal Server Error. An unexpected error occurred on the server.
components:
  schemas:
    PersonPublic:
      type: object
      properties:
        id:
          type: integer
        first_name:
          type: string
          nullable: true
        last_name:
          type: string
          nullable: true
        emails:
          type: array
          items:
            $ref: '#/components/schemas/PersonIdentifierItem'
        linkedin_urls:
          type: array
          items:
            $ref: '#/components/schemas/PersonIdentifierItem'
        phones:
          type: array
          items:
            $ref: '#/components/schemas/PersonIdentifierItem'
        custom_fields:
          type: array
          items:
            $ref: '#/components/schemas/PersonPublicCustomField'
      required:
        - custom_fields
        - emails
        - first_name
        - id
        - last_name
        - linkedin_urls
        - phones
    PersonIdentifierItem:
      type: object
      properties:
        value:
          type: string
        company_id:
          type: integer
          nullable: true
        job_title:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
        previous_status:
          type: string
          nullable: true
        first_campaign_email_sent:
          type: string
          format: date-time
          nullable: true
        last_campaign_email_sent:
          type: string
          format: date-time
          nullable: true
        last_reply_received:
          type: string
          format: date-time
          nullable: true
        origin:
          type: string
          nullable: true
      required:
        - company_id
        - first_campaign_email_sent
        - job_title
        - last_campaign_email_sent
        - last_reply_received
        - origin
        - previous_status
        - status
        - value
    PersonPublicCustomField:
      type: object
      properties:
        id:
          type: integer
        updated_time:
          type: string
          format: date-time
        field_name:
          type: string
        field_value:
          type: string
      required:
        - field_name
        - field_value
        - id
        - updated_time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````