> For the complete documentation index, see [llms.txt](https://docs.didforsale.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didforsale.com/sip-trunking/configuration-of-phone-numbers/webhook.md).

# Webhook Setup

## Creating a Webhook

Login to your dashboard and go to section **Interconnection > Webhooks.**

![](/files/-LmfpP7zNZ_b6YbNAtlU)

Hit '**Create'** to create a new webhook. You will see a pop-up to fill in basic details about your webhook like name, callback method, callback event & url. After filling these details you can click **'Save'** to save the changes.

![](/files/-LmfqpA7MCHiF2_iPkIR)

Now go to **Phone Numbers** and select the number/numbers you want to configure to set up webhook for from the list of phone numbers

![](/files/-LmfvBuLtRbm8KQQdSh2)

Check on  **"Edit Configuration"** to go to configuration screen.

Select your configuration type SIP, HTTP, Forward to Phone or Custom Dial Plan and then select option webhook on right hand side section as shown in below image.

![Selecting the webhook for the configuration](/files/-LmfsgnjRaA02WtC0Imn)

Click '**Save**' to apply changes.

Your number is now configured with Webhook.&#x20;

### Troubleshooting Phone Call and webhook responses&#x20;

You can see the request sent to your web application and the response we received in the reporting.&#x20;

Click on Reporting -> CDR, find the call that you want to troubleshoot.&#x20;

![](/files/-LmfvcQB0J5X2phX_XEA)

There are two legs. Click on the date of the first leg which shows the number dialed.&#x20;

| +12072487601 | 17173593982 |   |
| ------------ | ----------- | - |

Here you can see, we called webhook, <http://www.didforsale.com/apidemo/demo.xml.&#x20>;

![](/files/-LmfvjMHl2L-ouZWNaWl)

This call played the simple instruction and forward the call to another number.&#x20;
