ls_create_webhook
Create a webhook to subscribe to store events (orders, subscriptions) using a signing secret for verification.
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 |
|---|---|---|---|
| storeId | Yes | The store ID | |
| 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 |