Skip to main content
The New Customer webhook fires when a first-time user logs in via FlexyPass and a new account is created for them on your store. This event is exclusive to FlexyPass — it does not fire if the user is merely identified without confirming login, and it is not triggered by FlexyPe Checkout. This webhook provides real-time customer data including contact details, enabling businesses to sync new customers with external CRMs, marketing platforms, or loyalty programs, and automate onboarding flows 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.
X-Webhook-Version
string
The version of the webhook payload. Here, the value will be 2026-05.
X-Event-Id
string
The unique identifier for the event that triggered this webhook.

Body

event_time
string
The ISO 8601 timestamp when the event occurred.
event_type
string
The type of event. For this webhook, it is CUSTOMER_CREATED.
event_id
string
A unique identifier for the event.
store
object
Information about the store where the event occurred.
payload
object
The event-specific data.
{
  "event_time": "2026-05-07T10:00:00Z",
  "event_type": "CUSTOMER_CREATED",
  "event_id": "evt_789123456",
  "store": {
    "id": "store_01",
    "name": "My Awesome Store",
    "shopify_domain": "my-store.myshopify.com",
    "main_domain": "my-store.com"
  },
  "payload": {
    "user": {
      "email": "[email protected]",
      "full_name": "Jane Doe",
      "first_name": "Jane",
      "last_name": "Doe",
      "dial_code": "91",
      "phone": "9876543210",
      "phone_with_dial_code": "+919876543210"
    },
    "shopify_customer_id": "gid://shopify/Customer/123456789"
  }
}