# Configure WebHook

## Configure WebHook events

&#x20; **When pushing template messages, MO replies, and other events, if the App cannot be identified or matched, the data will be pushed to the default application; if there is no default application, it will not be pushed.** &#x20;

1\. In the API Keys feature menu list, click the callback event configuration button to start configuring

<figure><img src="https://170531697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsbd17k8pYGOpOfBIUKqm%2Fuploads%2FPjpLX7HMHkVCFf7ZPDBB%2Fimage.png?alt=media&#x26;token=62d6237f-6c33-4f41-9513-9379d937ada1" alt=""><figcaption></figcaption></figure>

2\. Click the \[Add] button to add

<figure><img src="https://170531697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsbd17k8pYGOpOfBIUKqm%2Fuploads%2FInAgUHn1d2I3jvZRvPzp%2Fimage.png?alt=media&#x26;token=e2baafe5-3b10-42fa-9384-40e9158a0d34" alt=""><figcaption></figcaption></figure>

3\. Select the product for which you want to configure the WebHook from the available product list

<figure><img src="https://170531697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsbd17k8pYGOpOfBIUKqm%2Fuploads%2FCqgUPRWrJNhz51S43VTk%2Fimage.png?alt=media&#x26;token=5d387c4e-b5af-4082-8dde-3ca48ca34b75" alt=""><figcaption></figcaption></figure>

4\. Configure the callback address and select the events you want to receive, then click Next to proceed

<figure><img src="https://170531697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsbd17k8pYGOpOfBIUKqm%2Fuploads%2FdIkB7qagt3c1A6PwtRpw%2Fimage.png?alt=media&#x26;token=5dbb39f3-1d74-44ce-a29b-42991acf5b39" alt=""><figcaption></figcaption></figure>

5\. Select the callback request method, default is POST. If the customer's business system needs to verify the source of the WebHook, you can configure UserName and Authorization header information. When the WebHook notification is pushed, UserName and Authorization will be added to the headers, and the customer's configured information will be pushed to the customer's system togethe&#x72;**.**

<figure><img src="https://170531697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsbd17k8pYGOpOfBIUKqm%2Fuploads%2FzGKPXZQ4bM9Ja4AFDlyM%2Fimage.png?alt=media&#x26;token=52655978-16a4-43e1-bedb-c67430fb4def" alt=""><figcaption></figcaption></figure>

## WebHook common parameters

<table data-header-hidden><thead><tr><th width="107.8046875"></th><th width="92.015625"></th><th width="68.08203125"></th><th></th></tr></thead><tbody><tr><td>Field</td><td>Data type</td><td>Required</td><td>Description</td></tr><tr><td>id</td><td>String</td><td>Yes</td><td>File handle, identifier</td></tr><tr><td>type<br></td><td>String<br></td><td>Yes</td><td>Event type:<strong>whatsapp_message_status_updated</strong>: message status report (available) <strong>whatsapp_mo_message_received</strong>: incoming message (available)<strong>whatsapp_template_status_updated</strong>: template status updated (available) <strong>whatsapp_account_review_updated</strong>: account review status updated (updating) <strong>whatsapp_phone_number_name_update</strong>: sending number name updated (updating) </td></tr><tr><td>eventTime</td><td>String</td><td>Yes</td><td>Event time, e.g.: 2023-02-22 12:00:00</td></tr><tr><td>body</td><td>JSON</td><td>Yes</td><td>Message body</td></tr></tbody></table>
