Through your user panel
If you are developing an app for a particular company, you can configure your webhooks through your user panel:
Note
Log in your Odoo instance with your account
Go to Settings ‣ Technical ‣ Automation ‣ Webhooks ‣ Configuration ‣ Webhooks
In the Webhooks section, click on Create button
Enter user friendly
name
of the webhook, Select themodel
for which you want to receive notifications, Select thelanguage
andpayload format
in which you want to receive notifications, Select theevent
you want to listen for from the drop-down box, Select thefields
if you want to receive notifications for those specfic fields only, Give acondition
if you want to recieve notifications only when it specified and enter theCallback URL
(http:// or https://) where you want to receive notifications.Click on Save button.
After you have created at least one webhook, Odoo lets you test your webhooks to verify that the endpoint is receiving notifications.

In the list of order notifications you will see your webhook. You will also see a “send test notification” link. This “send test notification” link allows you to send an example order to the URL you provided.
For example, if you wanted to pass custom headers with webhook requests, then you can click on Create new webhook and go to the headers tab where you can configure your custom headers.

If you want to capture the contents of a webhook to examine them, the easiest way is to set up a new subscription with a service like LocalTunnel, RequestBin or PostCatcher (described in Receive a webhook section) which will capture the result and let you view it in a browser.
Last updated