ls_create_webhook
Create a webhook to receive event notifications from your LemonSqueezy store. Set the target URL, subscribe to specific events, and get a signing secret for verifying payloads.
Instructions
Create a new webhook to receive event notifications. The signing secret is returned only once — save it immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to send webhook events to (must be a valid http/https URL) | |
| events | Yes | Event types to subscribe to (e.g. ['order_created', 'subscription_created', 'subscription_updated', 'subscription_cancelled', 'subscription_payment_success', 'subscription_payment_failed', 'license_key_created']) | |
| secret | Yes | A signing secret for verifying webhook payloads | |
| storeId | Yes | The store ID |