> 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/manage-and-monitor.md).

# Manage and monitor

Pause, test, rotate and delete webhooks, read their status and delivery log, or manage them with the API.

Each webhook's kebab menu (**⋮**) lets you edit, pause, send a test, view deliveries, rotate the secret or delete it.

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FH3DIwxuOz2WdSHKC5a7p%2Foutbound-webhooks-row-actions.png?alt=media" alt="The actions menu for a webhook." width="700"><figcaption><p>The actions menu for a webhook.</p></figcaption></figure>

* **Pause** stops deliveries but keeps capturing changes; **Resume** sends them in order.
* **Delete** stops deliveries and drops captured changes that were not sent yet.
* **Rotate secret** shows a new secret once. The old one keeps signing for 24 hours.

## Statuses

| Status                   | Meaning                                                                                  | What to do                                                      |
| ------------------------ | ---------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| Enabled                  | Delivering normally.                                                                     | Nothing.                                                        |
| Paused                   | An admin paused it.                                                                      | **Resume** from the menu.                                       |
| Disabled: failing        | Three permanent failures in a row, or no 2xx for 6 hours.                                | Fix the endpoint, then **Re-enable**.                           |
| Exploration deleted      | The linked exploration was deleted.                                                      | Link another exploration or switch to manual setup.             |
| Exploration not linkable | The linked exploration became private or otherwise unlinkable.                           | Make it public again and save the webhook, or link another one. |
| Waiting for search index | Violet's search index is catching up, so the exploration filter cannot be evaluated yet. | Nothing; it resumes on its own.                                 |

In every status other than Enabled, changes keep being captured and wait to be sent.

## Delivery log

**View deliveries** lists the webhook's requests from the last 30 days, newest first, with status, event count, attempts, the last response code and latency. Expand a row to see the request body and your endpoint's last response.

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FCoaD6d9sk8zPV9mp6rT7%2Foutbound-webhooks-deliveries.png?alt=media" alt="The delivery log, with one delivery expanded to show its request body." width="600"><figcaption><p>The delivery log, with one delivery expanded to show its request body.</p></figcaption></figure>

| Delivery status | Meaning                                                             |
| --------------- | ------------------------------------------------------------------- |
| Queued, Sending | Waiting for its turn or in flight.                                  |
| Retrying        | The last attempt failed and another is scheduled.                   |
| Delivered       | Your endpoint answered with a 2xx.                                  |
| Not sent        | Every event in it was on a type that became private or was removed. |
| Test failed     | A test request did not get a 2xx. Tests are never retried.          |

**Redeliver** sends a delivered request again, for example after your receiver lost data. The copy has a new `deliveryId` but the same `eventId`s, so clear those events from your deduplication store first if you want them processed again.

## Manage webhooks with the API

Everything above is also available with an admin user's [API key](https://docs.violetlabs.com/features/api/generate-an-api-key.md), under `https://[YOUR-TENANT-NAME].violetlabs.com/api/` (or `violetgov.com`) with the `x-api-key` header.

| Method and path                                             | Does                                                                  |
| ----------------------------------------------------------- | --------------------------------------------------------------------- |
| `GET /outbound-webhooks`                                    | List webhooks.                                                        |
| `POST /outbound-webhooks`                                   | Create a webhook. The response carries the signing secret once.       |
| `GET /outbound-webhooks/{id}`                               | Get one webhook.                                                      |
| `PATCH /outbound-webhooks/{id}`                             | Update a webhook.                                                     |
| `DELETE /outbound-webhooks/{id}`                            | Delete a webhook.                                                     |
| `POST /outbound-webhooks/{id}/rotate-secret`                | Rotate the secret. The response carries the new secret once.          |
| `POST /outbound-webhooks/{id}/ping`                         | Send a test request.                                                  |
| `POST /outbound-webhooks/{id}/pause`                        | Pause.                                                                |
| `POST /outbound-webhooks/{id}/resume`                       | Resume a paused webhook or re-enable a disabled one.                  |
| `GET /outbound-webhooks/{id}/deliveries?limit=&before=`     | Page through deliveries, newest first. Pass `nextCursor` as `before`. |
| `GET /outbound-webhooks/deliveries/{deliveryId}/payload`    | The request body of a delivery.                                       |
| `POST /outbound-webhooks/deliveries/{deliveryId}/redeliver` | Redeliver a delivered request.                                        |
| `GET /outbound-webhooks/options`                            | Integrations and entity types you can watch, for manual setup.        |
| `GET /outbound-webhooks/explorations`                       | Explorations you can link.                                            |

A create request looks like this:

```json
{
  "name": "ERP released assemblies",
  "url": "https://erp.example.com/hooks/violet",
  "mode": "linked",
  "explorationId": "0199d001-7a8b-7c9d-8e0f-1a2b3c4d5e6f",
  "eventTypes": ["entity.created", "entity.updated", "entity.deleted", "entity.filter_entered", "entity.filter_exited"],
  "customHeaders": { "X-API-Key": "<your endpoint's key>" }
}
```

For manual setup, send `"mode": "manual"` and `integrationEntityIds` (from `/outbound-webhooks/options`) instead of `explorationId`. `watchedProperties` maps each of those ids to property ids; an empty list means any property.

On update, `customHeaders` replaces the whole set: a `null` value keeps that header's current value, and a header left out is removed. Omit `customHeaders` to leave the headers unchanged. Header names that Violet or HTTP sets, such as `Content-Type`, `Host`, `User-Agent` or any `Violet-` name, cannot be used.


---

# 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/manage-and-monitor.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.
