> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.nimbata.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Webhook integration: how to set it up in Nimbata

Nimbata's Webhook integration sends call data to any HTTP endpoint, letting you connect Nimbata with internal systems or third-party tools that accept POST requests.

|| Webhooks are delivered on a best-effort basis. If your endpoint is unavailable or returns an error, the payload may not be delivered.
---

### Step 1. Select your trigger

* Go to [Integrations > Webhook](https://app.nimbata.com/integrations/service/webhook).
* Select your trigger. 
* Use **After Every Call** to send all calls.
* Alternatively, click **Create Trigger** to define specific criteria. 
* Triggers are evaluated after the call ends, not during it.

### Step 2. Enter your endpoint URL

* Enter the URL of your endpoint. 
* Nimbata will send an HTTP POST request with a JSON payload to this URL whenever trigger conditions are met.

![](https://storage.crisp.chat/users/helpdesk/website/-/2/f/4/5/2f459a49cf382400/imagelst099_1ivn7eu.png)

### Step 3. Set authorization

* Select the authorization method if your endpoint requires it and enter the credentials. 
* Supported methods apply to outgoing request headers only.

### Step 4. Choose your payload fields

* Select the call data fields to include in the payload. 
* Use **×** to remove a field.
* Click the label to rename it.
* Alternatively, click **+** to add custom fields.

![](https://storage.crisp.chat/users/helpdesk/website/-/2/f/4/5/2f459a49cf382400/image1aix23i_1e4qyaf.png)

| Renaming a field only changes the JSON key name. Removing or renaming fields can break downstream systems that expect a fixed schema.

### Step 5. Test and save

* Click **Test** to send a sample payload to your endpoint and confirm a successful response.
* Then, click **Save**.

||| Your endpoint must respond with a 2xx HTTP status code. The test sends a sample payload, not a real call event.
---

🎉 Done! Whenever a call meets your trigger criteria, Nimbata will POST the selected call data to your endpoint.