> For the complete documentation index, see [llms.txt](https://docs.metacopier.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.metacopier.io/features/basic-features/webhook.md).

# Webhook

The **Webhook** feature sends real-time HTTP POST notifications to your endpoint when trading events occur on your accounts. It can be configured at the **account level** (via Features) or at the **project level** (applies to all accounts in the project).

## Key capabilities

* **Events:** Position Opened, Position Closed, History Updated
* **Authentication:** None, HMAC-SHA256 (with optional timestamp for replay protection), or Bearer Token
* **Delivery:** Configurable retries (0–5), retry delay, request timeout, and rate limiting
* **Payload options:** Choose whether to include position details and account metadata
* **Custom headers:** Add up to 10 custom HTTP headers to each request

{% hint style="info" %}
When configured at the project level, the webhook is active for **all accounts** in that project.
{% endhint %}

For a detailed setup guide with client-side implementation examples, see the [Webhook Tutorial](/tutorials/webhook.md).
