Create webhook
create_webhookCreates a Lemon Squeezy webhook for a store, specifying target URL and events to send notifications when activity occurs.
Instructions
Creates a webhook.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| events | No | ||
| secret | No | Private signing secret; prefer payload_file. Never echo or log. | |
| account | No | Exact private profile label. Does not prove store ownership; mode applies to the main API key only. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete native JSON object body. JSON:API uses data/type/id/attributes/relationships. No mixing with body flags or payload_file. License credential is private configuration, never body input. | |
| store_id | No | ||
| test_mode | No | ||
| payload_file | No | Absolute regular non-symlink native JSON body file at most 1 MiB; cannot mix with payload or body flags. |