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

# Get Visitor Details

> Retrieve a Squid ID identified visitor by visitorId, including person, company, contact, and page-view fields available on the matched record.



## OpenAPI

````yaml openapi.json GET /visitors/{visitorId}/details
openapi: 3.0.3
info:
  title: Squid ID API (read-only)
  version: 1.0.0
  description: >-
    Read-only API for retrieving an identified visitor by id. Requests go
    through the Squid ID broker and authenticate with your Squid ID API key.
servers:
  - url: https://id-api.asksquid.ai/api
security:
  - BearerAuth: []
paths:
  /visitors/{visitorId}/details:
    get:
      summary: Retrieve visitor's details
      operationId: visitors.getDetails
      parameters:
        - name: visitorId
          in: path
          required: true
          description: Visitor ID
          schema:
            $ref: '#/components/schemas/ObjectId'
        - $ref: '#/components/parameters/Authorization'
      responses:
        '200':
          description: Visitor details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiDetailsResponse'
        '401':
          description: Unauthorized (missing or invalid bearer token)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden (insufficient scope)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - BearerAuth: []
components:
  schemas:
    ObjectId:
      type: string
      description: MongoDB ObjectId as 24 hex characters.
      pattern: ^[a-fA-F0-9]{24}$
      example: 64fa2b9f1c2a3e4b5d6f7890
    ApiDetailsResponse:
      type: object
      properties:
        firstName:
          type: string
        lastName:
          type: string
        name:
          type: string
        email:
          type: string
          format: email
        company:
          type: string
        company_role:
          type: string
        linkedin_url:
          type: string
          format: uri
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
  parameters:
    Authorization:
      name: Authorization
      in: header
      required: true
      description: 'Your Squid ID API key, format: `Bearer <key>` (keys start with `sqid_`).'
      schema:
        type: string
      example: Bearer sqid_xxxxxxxxxxxxxxxxxxxxxxxx
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````