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

# Get an identified visitor



## OpenAPI

````yaml /api-reference/openapi.json get /v1/analytics/visitors/{id}
openapi: 3.0.1
info:
  title: Scribe Public API
  version: v1
  description: >-
    REST API to manage email signatures, teammates, smart fields, and marketing
    campaigns in your Scribe workspace. Every request uses JSON and is
    authenticated with a workspace API key. Endpoints are versioned under `/v1`,
    for example `https://api.scribe-mail.com/v1/signatures`.
  contact:
    name: Scribe Support
    url: https://help.scribe-mail.com/en
servers:
  - url: https://api.scribe-mail.com
    description: Production
security: []
tags:
  - name: Signatures
    description: >-
      Create, update, publish, and install email signature templates, and
      control which teammates each signature is assigned to.
  - name: Teammates
    description: >-
      Manage the people whose signatures Scribe deploys, and set their smart
      field values.
  - name: Emails
    description: >-
      Manage teammate email addresses, including the aliases that receive a
      signature.
  - name: Smart fields
    description: >-
      Define the dynamic fields, such as job title, phone number, or calendar
      link, that populate signatures.
  - name: Folders
    description: Organize signature templates into folders.
  - name: Assets
    description: >-
      Upload and manage the images and files used across signatures and
      campaigns.
  - name: Marketing campaigns
    description: >-
      Schedule, pause, and resume the promotional banners shown in your team's
      signatures.
  - name: Integrations
    description: >-
      List the directory, HRIS, and email integrations connected to your
      workspace.
  - name: Integration entities
    description: >-
      List the org units and groups from your connected integrations, used to
      target signatures.
  - name: Financial documents
    description: List the invoices and financial documents for your workspace.
paths:
  /v1/analytics/visitors/{id}:
    get:
      tags:
        - Visitors
      summary: Get an identified visitor
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/visitor_response'
        '404':
          description: Unknown visitor
      security:
        - ApiKey: []
components:
  schemas:
    visitor_response:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/visitor'
        stats:
          type: object
          description: >-
            The visitor's lifetime engagement, summed from their recorded
            events.
          properties:
            count:
              type: integer
              description: Number of events the visitor fired.
            value:
              type: number
              description: Total event value (mixed currencies).
          required:
            - count
            - value
          additionalProperties: false
      required:
        - data
        - stats
      additionalProperties: false
    visitor:
      type: object
      properties:
        id:
          type: string
        distinct_id:
          type: string
          description: The customer-supplied user id passed to identify().
        traits:
          type: object
          description: >-
            The customer-supplied identity traits (name, email, plan, ...). May
            contain PII.
        first_seen_at:
          type: string
          format: date-time
        last_seen_at:
          type: string
          format: date-time
          description: When the user was last identified.
        first_touch:
          type: object
          description: >-
            The email signature click that drove this user's first visit (nulls
            when unattributed).
          properties:
            click_id:
              type: string
              nullable: true
            teammate_id:
              type: string
              nullable: true
            signature_template_id:
              type: string
              nullable: true
            email_id:
              type: string
              nullable: true
          required:
            - click_id
            - teammate_id
            - signature_template_id
            - email_id
          additionalProperties: false
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - distinct_id
        - traits
        - first_seen_at
        - last_seen_at
        - first_touch
        - created_at
        - updated_at
      additionalProperties: false
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer

````