Skip to main content
The New Customer Webhook is triggered when a new customer is created in your store through FlexyPePass. 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

X-Flexype-Authorization
string
A secret key used to verify that the webhook request originated from FlexyPe. Ensure this token is validated to prevent unauthorized access.

Body

event_id
string
Unique identifier for this webhook event.
event_type
string
The type of event that triggered this webhook. Value: new_customer.
timestamp
string
ISO 8601 formatted timestamp of when the event was triggered.
store_domain
string
The Shopify domain/subdomain for the merchant store.
customer
Customer Object
Details of the newly created customer.
{
  "event_id": "a1b2c3d4-5e6f-7890-abcd-ef1234567890",
  "event_type": "new_customer",
  "timestamp": "2025-12-08T14:35:22.169Z",
  "store_domain": "flexype.myshopify.com",
  "customer": {
    "shopify_customer_id": "gid://shopify/Customer/7894561230123",
    "first_name": "John",
    "last_name": "Doe",
    "email": "john.doe@example.com",
    "phone": "+917777788888",
    "dial_code": "91"
  }
}