> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loveful.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks

> Post wishlist events to your own URLs as JSON, for Zapier, Make or your own systems.

Loveful can post wishlist events to URLs you control, as JSON. Use them to wire wishlist activity into Zapier, Make or your own systems. Webhooks are on every plan. Open them under **Settings › Integrations › Webhooks**.

## Add a webhook

**1. Add a webhook**

Under **Endpoints**, choose **Add webhook**.

**2. Enter the URL**

Enter your **Endpoint URL**. It must start with `https://` and be on the public internet: addresses inside a private network are refused, because Loveful's servers send the request.

**3. Pick the events**

Tick at least one of the **Events** below, then choose **Add webhook**.

**4. Copy the signing secret**

Loveful shows the webhook's signing secret once. Copy it now: your endpoint uses it to check each request came from Loveful.

You can have up to 5 webhooks.

## Events

| Event | Sent as | When |
| - | - | - |
| **Item saved** | `wishlist.item_added` | A shopper saved a product to their wishlist. |
| **Item removed** | `wishlist.item_removed` | A shopper removed a product from their wishlist. |
| **Wishlist shared** | `wishlist.shared` | A shopper shared their wishlist by link or email. |
| **Wishlist purchase** | `wishlist.purchase` | An order included products the shopper had wishlisted. Sent once per order. |

Events are sent for signed-in shoppers and wishlisted orders. Guests' saves and removes aren't sent.

Each event is a `POST` with a JSON body and an **`X-Loveful-Signature`** header, so your endpoint can check it came from Loveful. For the payloads and how to verify the signature, see [Webhooks for developers](https://docs.loveful.app/developers/webhooks.md).

## Managing a webhook

Each webhook has an **Edit** button and a menu of more actions:

* **Edit** changes which events it gets. The URL can't be changed: to use a different URL, add a new webhook.
* **Send test** posts a sample `wishlist.test` event, signed like a real one, and tells you whether your endpoint accepted it.
* **Regenerate signing secret** makes a new secret and shows it once. The old one stops working straight away, so update your endpoint.
* **Delete webhook** stops Loveful sending to that URL, after you confirm. This can't be undone.

## Delivery

Any `2xx` response counts as delivered. Each delivery waits up to 10 seconds for an answer and is tried up to 3 times. Loveful tries again when your endpoint can't be reached, times out, or answers with a `5xx`, `408`, `425` or `429`. Other answers, such as `400` or `404`, aren't retried.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.