Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

Webhook → Create

AI-generated

Summary

Create a Lemon Squeezy webhook for a store, subscribing it to selected events at a publicly reachable HTTPS URL and signing its payloads with a secret.

Inputs

  • Store (required) — Select the store or provide its ID.
  • URL (required) — Publicly reachable HTTPS endpoint that will receive webhook events.
  • Events (required) — Choose one or more events, such as order creation, refunds, subscription changes, or license key updates.
  • Secret (required) — Signing secret for webhook payloads; the implementation requires at least 32 characters.
  • Test Mode — When enabled, the webhook receives only test events.
  • Simplify — Defaults to enabled; flattens JSON:API attributes in the returned response. Disable to retain the raw JSON:API response.
  • Retry Options — Configure retries for failed API requests: maximum retries (default 3; 0–10) and initial delay in milliseconds (default 1000; 100–30000).

Output shape

A single created webhook record.

By default, the returned JSON:API resource is simplified by flattening its attributes; disabling Simplify returns the raw JSON:API format. API failures are reported as errors.

Links

Discussion