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

# Get a client

> Returns a single client by its public ID.



## OpenAPI

````yaml /openapi.json get /clients/{id}
openapi: 3.1.1
info:
  title: Heffl Public API (Legacy v1)
  version: 1.0.0
  description: >-
    Legacy Heffl REST API v1. Maintained for existing integrations. For new
    projects, use API v2 at https://docs.heffl.com/api-v2/introduction.
  contact:
    name: Heffl Support
    url: https://heffl.com/support
    email: support@heffl.com
servers:
  - url: https://api.heffl.com/api/v1
    description: Production API Server
security:
  - ApiKeyAuth: []
paths:
  /clients/{id}:
    get:
      tags:
        - Clients
      summary: Get a client
      description: Returns a single client by its public ID.
      operationId: clients.get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: Client public ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Client public ID
                  number:
                    type: string
                    description: Auto-generated client number
                  name:
                    type: string
                    description: Client name
                  type:
                    enum:
                      - company
                      - contact
                    description: Client type
                  firstName:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: First name (for contacts)
                  lastName:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: Last name (for contacts)
                  email:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: Email address
                  phone:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: Phone number
                  website:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: Website URL
                  stageId:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: Client stage public ID
                  createdAt:
                    type: string
                    format: date-time
                    x-native-type: date
                    description: When the client was created
                  customFields:
                    anyOf:
                      - type: object
                        propertyNames:
                          type: string
                        additionalProperties: {}
                      - type: 'null'
                    description: Custom field values
                required:
                  - id
                  - number
                  - name
                  - type
                  - createdAt
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Get yours at
        app.heffl.com/settings/developers

````