# Webhooks

{% hint style="info" %}
The GraphQL API and Webhooks are an additional feature, and Webhooks will need to be enabled separately from the API. If you would like to add the GraphQL API and/or Webhooks to your Fast Weigh subscription, contact us at *865-219-2980* or <support@tacinsight.com>.
{% endhint %}

Webhooks are used to "listen" for events within Fast-Weigh, which can then trigger further actions based on your business logic.&#x20;

## Getting Started

To get started with enabling Webhooks, navigate to the API Info page in the Web Portal

{% embed url="<https://portal.fast-weigh.com/APIInfo>" %}

Here, you should see a "Webhooks Dashboard" section under the API endpoint

<figure><img src="/files/IrYDy4McaBPN9j013qei" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you do not see the Webhooks Dashboard section in the API Info page, contact Fast-Weigh support to enable Webhooks! Contacts us at 865-219-2980 or <support@tacinsight.com>.
{% endhint %}

Click the "Show" button to navigate to our webhook provider: [Svix](https://app.svix.com/). You will be automatically logged in to your Fast-Weigh x Svix dashboard.

Click the "+ Add Endpoint" button

<figure><img src="/files/NZar1KCxfoeA1G8SYEsz" alt=""><figcaption></figcaption></figure>

This will bring up the endpoint configuration page

<figure><img src="/files/Zr1ffvjX1kkfhzFjcTm3" alt=""><figcaption></figcaption></figure>

Add in your "Endpoint URL". This will be the "destination" of the webhook call, so you will need to have somewhere pre-set up to listen for the webhooks. For example:  [Zapier](https://zapier.com/)

Optionally, set a Description of what the endpoint is for so that you can quickly identify it later.

The next step is to select the event(s) that you want to trigger the webhook. For example, you could select `ticket.created`, `ticket.updated`, and `ticket.voided` to track the lifecycle of a ticket.

## Webhook Details

Once the webhook is created, you will be routed to a webhook overview page. You can also access this page from the webhook home screen and selecting the endpoint.

<figure><img src="/files/cmz1oPx1y83NPb5kViHW" alt=""><figcaption></figcaption></figure>

Here, you can edit the endpoint, edit the events that trigger the webhook, view a stream of all of the events that have been fired, inspect individual events, replay events, fire test events, and copy the webhook's "Signing Secret".

Testing events can be useful to preview the payload that is sent for any specific event<br>

<figure><img src="/files/ftkZ6JnRAQlZg7rHTzus" alt=""><figcaption></figcaption></figure>

## Documentation

For additional help with Svix and webhooks, check out their docs here:

{% embed url="<https://docs.svix.com/>" %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.tacinsight.com/fast-weigh-knowledge-base/references/api-documentation/webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
