> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/features/api/outbound-webhooks/set-up-a-webhook.md).

# Set up a webhook

Create an outbound webhook in Violet and connect it to your endpoint.

A tenant admin creates webhooks from **Webhooks › Outbound**, in the menu under your name at the bottom left.

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2F0FOzecBzLNPLvIHyfyOz%2Foutbound-webhooks-list.png?alt=media" alt="The Outbound tab lists each webhook with its endpoint, source, status and last delivery." width="700"><figcaption><p>The Outbound tab lists each webhook with its endpoint, source, status and last delivery.</p></figcaption></figure>

1. Click **Create outbound webhook**.
2. Enter a **Name** and the **Endpoint URL**. The URL must be HTTPS; it should either be public or allowlisted so that [Violet's IP addresses](https://docs.violetlabs.com/resources/administrative/connect-self-hosted-software/ip-allow-list.md) can reach it.
3. Optional: under **Custom headers**, click **Add header** to send your endpoint's own credentials, for example `X-API-Key`. You can add up to 10. Values are stored encrypted and never shown again.
4. Under **Which entities?**, choose how the webhook picks entities:
   * **Link an exploration** and pick a saved exploration. The panel lists the entity types it covers, how many entities match today and roughly how often they change. Only public explorations saved in your tenant can be linked, not shared templates; anyone who can edit the exploration changes what the webhook sends.
   * **Set up manually**, expand an integration and tick the entity types to watch. Types marked **Recommended** are usually the right choice, for example the part revision type rather than both a part and its revision.
5. Under **Events**, select the [event types](https://docs.violetlabs.com/features/api/outbound-webhooks/events-and-payloads.md#event-types) to send.
6. Under **Watched properties**, choose which property changes count as an update. Leave empty to fire on any property change.
7. Click **Create webhook**.

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FWU5CsSfqAm96KZLIEyeQ%2Foutbound-webhooks-create-linked.png?alt=media" alt="Linking an exploration: the panel shows the entity types it covers and the watched properties taken from its columns." width="420"><figcaption><p>Linking an exploration: the panel shows the entity types it covers and the watched properties taken from its columns.</p></figcaption></figure>

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FHM2FyRMKl3aqHEA929En%2Foutbound-webhooks-create-manual.png?alt=media" alt="Manual setup: pick entity types per integration, then the events and watched properties." width="420"><figcaption><p>Manual setup: pick entity types per integration, then the events and watched properties.</p></figcaption></figure>

After you create the webhook, Violet shows its **signing secret** once. Copy it into your receiver's configuration to [verify signatures](https://docs.violetlabs.com/features/api/outbound-webhooks/verify-signatures.md).

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FuPkiqZLjyUb9vVzquNu9%2Foutbound-webhooks-signing-secret.png?alt=media" alt="The signing secret is shown once, on create and on rotate." width="563"><figcaption><p>The signing secret is shown once, on create and on rotate.</p></figcaption></figure>

Then check the connection: open the webhook's kebab menu (**⋮**) and click **Send test**. Your endpoint receives a `subscription.ping` event. For a webhook linked to an exploration, you may also want to load the exploration's current results once, as described in [Resync a linked webhook](https://docs.violetlabs.com/features/api/outbound-webhooks/delivery-and-retries.md#resync-a-linked-webhook).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.violetlabs.com/features/api/outbound-webhooks/set-up-a-webhook.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
