# Configure a Webhook

### Steps to create a webhook

1. Go to the [Webhook dashboard](https://tip4serv.com/dashboard/webhooks).
2. Click on **Create Webhook**.
3. Fill in the following fields:
   * **Name** → For your reference only (helps you identify the webhook in your dashboard).
   * **Webhook URL** → The public endpoint on your server that will receive webhook payloads (must accept `POST` requests).
   * **Events** → Select the events you want to be notified about (e.g., `payment.success`, `subscription.expired`).
4. Save your webhook.

***

### Multiple webhooks

* You can create **multiple webhooks** if needed.
* Each webhook can listen to **different events** and point to **different URLs**.
* This allows you to separate integrations (for example: one webhook for Discord, another one for your internal database).

***

### Good practices

* Use a **unique URL** for each integration (don’t reuse the same webhook for unrelated services).
* Make sure your server always responds with an **HTTP 200** code to acknowledge receipt.
* Log received payloads for debugging purposes.

***

👉 Once configured, your webhook will immediately start receiving events when they occur.


---

# 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://docs.tip4serv.com/webhooks-developers-only/configure-a-webhook.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.
