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

# Getting Started with Webhooks

> Real-time webhook notifications for shop events

Ready to boost your applications, Twitch, or YouTube live stream with Fourthwall's webhooks? This powerful tool helps your apps stay in sync with your shop in real-time, responding to key events as they happen.

Picture this: the moment a supporter purchases a product from your shop, a webhook sends a notification your way. Now it's your turn to act, using the data received through your webhook to drive the next steps.

## Example Use Cases

Webhooks offer a world of possibilities for real-time application integration:

* **Interactive IoT integrations:** Sync your webhooks with smart devices. For instance, set your lights to flash whenever an order is placed.
* **Data harvesting for internal usage**: Use webhooks to gather and process data, keeping your internal systems up-to-date.
* **External software linkage:** Connect your store with external software, such as accounting tools, to automate and streamline operations.
* **Immediate alerts for shipping partners:** Keep your shipping companies in the loop about new orders in real time.
* **Automated data clean-up:** Safeguard customer privacy by using webhooks to remove customer data from databases once it's no longer necessary.

## Example Flow

```mermaid theme={null}
sequenceDiagram
    participant Client
    participant Fourthwall

    Client->>Fourthwall: ① Create a webhook<br/>subscription for<br/>events
    Note over Fourthwall: ② Event happened, e.g.<br/>order placed
    Fourthwall->>Client: ③ Send JSON with<br/>data
    Client->>Fourthwall: ④ 200 HTTP OK<br/>response
```

1. A webhook subscription is set up on the 'ORDER\_PLACED' topic for a shop, using a specified HTTPS endpoint (via the [dashboard](https://my-shop.fourthwall.com/admin/dashboard/settings/for-developers?redirect) or the [API](/api-reference/platform/webhooks/create-webhook)).
2. Someone places an order in the shop.
3. Fourthwall takes this order event and sends it, along with the order details (payload), to the subscription endpoint.
4. The client app receives this event, sends back an 'OK 200' HTTP status code, and then can perform any needed actions.

## Next Steps

<CardGroup cols={2}>
  <Card title="Manage via API" icon="code" href="/webhooks/api-management">
    Create and manage webhooks programmatically
  </Card>

  <Card title="Event Types" icon="list" href="/webhooks/event-types">
    See all available webhook events and payloads
  </Card>

  <Card title="Verify Signatures" icon="shield-check" href="/webhooks/signature-verification">
    Secure your webhook endpoint
  </Card>

  <Card title="Testing" icon="flask" href="/webhooks/testing">
    Test webhooks during development
  </Card>
</CardGroup>
