Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

Webhook → Update

AI-generated

Summary

Update a Lemon Squeezy webhook by ID, changing any supplied URL, subscribed events, or signing secret. The URL must be publicly accessible HTTPS, and a supplied secret must be at least 32 characters; the API response can be returned simplified or in raw JSON:API format.

Inputs

  • Webhook ID (required) — ID of the webhook to update.
  • URL — Optional destination URL for webhook events; must be a publicly accessible HTTPS URL.
  • Events — Optional list of event types that should trigger the webhook, such as order_created or subscription_updated.
  • Secret — Optional signing secret; must be at least 32 characters.
  • Simplify — Defaults to true. When enabled, flattens JSON:API attributes into the top-level response; disable for the raw JSON:API structure.
  • Retry Options — Configure retries for failed API requests. Max Retries defaults to 3 (0–10); Initial Delay defaults to 1000 ms (100–30000), doubling on each retry.

Output shape

A single updated webhook record.

The record is simplified by default; disabling Simplify returns the raw JSON:API response structure. API failures are reported as errors.

Links

Discussion