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

# Create customer

> Creates a new customer.

<Warning>
  **Deprecated:** This is a **v1** endpoint. It will continue to work, but we
  recommend migrating to the [v2 equivalent](/api-reference) for improved REST
  compliance (correct HTTP status codes, consistent response envelopes, and
  hyphenated URLs).
</Warning>

<Info>Replace `{your-subdomain}` with your workspace's subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/getting-started/workspace-subdomain).</Info>


## OpenAPI

````yaml /bundled-v1/customers.yaml POST /customers
openapi: 3.0.3
info:
  title: NeetoDesk APIs
  version: 1.0.0
servers:
  - description: NeetoDesk APIs
    url: https://{your-subdomain}.neetodesk.com/api/v1/public
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/getting-started/workspace-subdomain).
security: []
paths:
  /customers:
    post:
      summary: Create a customer
      description: Creates a new customer.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCustomerRequest'
      responses:
        '200':
          description: OK - Request succeeded
          content:
            application/json:
              schema:
                type: object
                properties:
                  notice_code:
                    type: string
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/getting-started/authentication) for more information.
      required: true
      schema:
        type: string
        default: your-api-key
  schemas:
    CreateCustomerRequest:
      type: object
      required:
        - customer
      properties:
        customer:
          type: object
          required:
            - emails
          properties:
            first_name:
              type: string
              description: First name of the customer.
              example: John
            last_name:
              type: string
              description: Last name of the customer.
              example: Doe
            emails:
              type: array
              minItems: 1
              description: >
                Array of email addresses. Can be provided as an array of strings
                or an array of objects with `email` and `primary` fields. The
                first email in the array is treated as primary if not specified.
              items:
                oneOf:
                  - type: string
                    example: john@example.com
                  - type: object
                    required:
                      - email
                    properties:
                      email:
                        type: string
                        example: john@example.com
                      primary:
                        type: boolean
                        description: Whether this email is the primary email address.
                        example: true
              example:
                - john@example.com
                - jane@example.com
            phones:
              type: array
              description: >
                Array of phone numbers. Can be provided as an array of strings
                or an array of objects with `phone` and `label` fields.
              items:
                oneOf:
                  - type: string
                    example: '+1234567890'
                  - type: object
                    required:
                      - phone
                    properties:
                      phone:
                        type: string
                        example: '+1234567890'
                      label:
                        type: string
                        description: Label for the phone number (e.g., "Mobile", "Work").
                        example: Mobile
            links:
              type: array
              description: >
                Array of links/URLs. Can be provided as an array of strings or
                an array of objects with `url` and `label` fields.
              items:
                oneOf:
                  - type: string
                    example: https://github.com/john
                  - type: object
                    required:
                      - url
                    properties:
                      url:
                        type: string
                        example: https://github.com/john
                      label:
                        type: string
                        description: Label for the link (e.g., "GitHub", "Website").
                        example: GitHub
            language:
              type: string
              description: Language preference for the customer.
              example: English
            time_zone:
              type: string
              description: Time zone for the customer.
              example: Eastern Time (US & Canada)
            description:
              type: string
              description: Description or notes about the customer.
              example: VIP customer
            company_id:
              type: string
              description: ID of the company to associate the customer with.
              format: uuid
              example: aaaabbbb-cccc-dddd-eeee-ffff00001111

````