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

# Get a client

> Fetch a single client by its document id. To look up by external CRM id, use GET /v1/clients?crmEntityId=<id>.



## OpenAPI

````yaml /openapi.json get /v1/clients/{id}
openapi: 3.1.0
info:
  title: Sales Ask API
  version: 1.0.0
  description: >-
    Public API for integrating with Sales Ask. Authenticate every request using
    your organization API key in the x-api-key header. To generate an API key,
    call POST /organizations/:organizationId/api-key while authenticated as an
    organization admin.
servers:
  - url: https://integrations.salesask.com
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /v1/clients/{id}:
    get:
      tags:
        - Clients
      summary: Get a client
      description: >-
        Fetch a single client by its document id. To look up by external CRM id,
        use GET /v1/clients?crmEntityId=<id>.
      operationId: getClient
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The client's document id.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  client:
                    $ref: '#/components/schemas/Client'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Client not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Client:
      type: object
      properties:
        id:
          type: string
          description: Client document id.
        name:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        crmEntityId:
          type: string
          nullable: true
          description: >-
            External CRM entity id (unique per organization). Look up with GET
            /v1/clients?crmEntityId=...
        address:
          type: string
          nullable: true
        insights:
          type: object
          nullable: true
          description: AI-generated insights about the client.
          additionalProperties: true
        insightsUpdatedAt:
          type: string
          format: date-time
          nullable: true
          description: When insights were last regenerated.
        notes:
          type: string
          nullable: true
        createdAt:
          type: string
          format: date-time
          nullable: true
        updatedAt:
          type: string
          format: date-time
          nullable: true
    Error:
      type: object
      properties:
        message:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````