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

# New Customer

The New Customer Webhook is triggered when a new customer is created in your store through FlexyPass. This webhook provides real-time customer data including contact details, enabling businesses to sync customer information with external CRMs, marketing platforms, or loyalty programs. By leveraging this integration, brands can automate onboarding workflows, send welcome messages, and build personalized customer experiences from the very first interaction.

### Headers

<ParamField body="X-Flexype-Authorization" type="string">
  A secret key used to verify that the webhook request originated from FlexyPe. Ensure this token is validated to prevent unauthorized access.
</ParamField>

<ParamField body="X-Webhook-Version" type="string">
  The version of the webhook payload. Here, the value will be `2025-09`.
</ParamField>

<ParamField body="X-Event-Id" type="string">
  The unique identifier for the event that triggered this webhook.
</ParamField>

### Body

<ResponseField name="store_domain" type="string">
  The Shopify domain/subdomain for the merchant store.
</ResponseField>

<ResponseField name="shopify_domain" type="string">
  The Shopify domain for the merchant store.
</ResponseField>

<ResponseField name="customer" type="object">
  Details of the newly created customer.

  <Expandable title="properties">
    <ResponseField name="shopify_customer_id" type="string">
      The globally unique Shopify identifier for the customer (GID format).
    </ResponseField>

    <ResponseField name="first_name" type="string">
      The customer's first name.
    </ResponseField>

    <ResponseField name="last_name" type="string">
      The customer's last name.
    </ResponseField>

    <ResponseField name="email" type="string">
      The customer's email address.
    </ResponseField>

    <ResponseField name="phone" type="string">
      The customer's phone number including country code.
    </ResponseField>

    <ResponseField name="dial_code" type="string">
      The country code associated with the customer's phone number.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```json Response theme={null}
  {
    "store_domain": "my-store.myshopify.com",
    "shopify_domain": "my-store.myshopify.com",
    "customer": {
      "shopify_customer_id": "gid://shopify/Customer/123456789",
      "first_name": "Jane",
      "last_name": "Doe",
      "email": "jane@example.com",
      "phone": "9876543210",
      "dial_code": "91"
    }
  }
  ```
</RequestExample>
