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

# Get a customer



## OpenAPI

````yaml api-reference/openapi3.json get /customers/{customer_id}
openapi: 3.0.0
info:
  title: Operator API
  version: '2025-06-19'
  description: API for Operator
servers:
  - url: https://api.operator.xyz
security: []
paths:
  /customers/{customer_id}:
    get:
      tags:
        - Customers
      summary: Get a customer
      parameters:
        - name: Operator-Version
          in: header
          required: true
          schema:
            type: string
            enum:
              - '2025-06-19'
          description: The API version to use.
          example: '2025-06-19'
        - name: customer_id
          in: path
          required: true
          schema:
            description: Unique identifier for the customer, e.g. `cus_8qm9JBCiTe7`.
            type: string
          description: Unique identifier for the customer, e.g. `cus_8qm9JBCiTe7`.
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                properties:
                  id:
                    description: >-
                      Unique identifier for the customer, e.g.
                      `cus_8qm9JBCiTe7`.
                    type: string
                  created_at:
                    description: When the customer was created.
                    format: date-time
                    type: string
                  updated_at:
                    description: When the customer was last updated.
                    format: date-time
                    type: string
                  organization_id:
                    description: Unique identifier for the organization.
                    type: string
                  phone_no:
                    description: Customer's phone number.
                    type: string
                  email:
                    type: string
                    default: null
                    description: Customer's email address.
                  name:
                    type: string
                    default: null
                    description: Customer's name.
                  external_id:
                    type: string
                    default: null
                    description: External ID of the customer.
                  zendesk_user_id:
                    type: string
                    default: null
                    description: External Zendesk user ID.
                  salesforce_lead_id:
                    type: string
                    default: null
                    description: External Salesforce lead ID.
                  salesforce_contact_id:
                    type: string
                    default: null
                    description: External Salesforce contact ID.
                  preferred_language:
                    type: string
                    default: null
                    description: Customer's preferred language.
                  extra:
                    additionalProperties: true
                    type: object
                    default: null
                    description: Additional metadata associated with the customer.
                required:
                  - id
                  - created_at
                  - updated_at
                  - organization_id
                  - phone_no
                type: object
        '404':
          description: The requested resource was not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  data: {}
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````