> For the complete documentation index, see [llms.txt](https://u-messanger.gitbook.io/u-messanger-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://u-messanger.gitbook.io/u-messanger-docs/whatsapp-masking/webhook.md).

# Webhook

Fitur webhook memberikan kemungkinan system mengirimkan update status pesan yang telah kamu kirim. Untuk mendapatkan/menerima update status pesan kamu boleh isikan url penampung status pesan terlebih dahulu.

Login ke dashboard kemudian pilih menu Profile, kemudian isikan alamat url webhook kamu.

<div align="left" data-with-frame="true"><figure><img src="https://2418342636-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTLTETatYMO0p1umts7YT%2Fuploads%2FxGTdtHVLdeX2r5oPfpKj%2Fimage.png?alt=media&amp;token=ba52222c-94c0-4aaf-ba01-5bc3db45fad1" alt="" width="422"><figcaption></figcaption></figure></div>

Webhook akan dikirimkan oleh system dalam bentuk JSON

```json
{
 "uid":"662781e15f333",
 "recipient":"628117703379",
 "status":"Delivered",
 "statusdesc":"success delivered"
}
```

| Parameter                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <mark style="color:$primary;">`uid`</mark>       | <mark style="color:$primary;">`Unique identification for a message`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <mark style="color:$primary;">`recipient`</mark> | <mark style="color:$primary;">`Destination number of the message`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <mark style="color:$primary;">`status`</mark>    | <p><code>Status of the message:</code></p><p> <sub><mark style="color:$primary;"><code>Pending = Message Pending</code></mark></sub></p><p> <sub><mark style="color:$primary;"><code>Sent = Message has been sent</code></mark></sub></p><p> <sub><mark style="color:$primary;"><code>Undelivered = Message failed to delivered</code></mark></sub></p><p> <sub><mark style="color:$primary;"><code>Delivered = Message success delivered</code></mark></sub><br> <sub><mark style="color:$primary;"><code>Read = Read by recipient</code></mark></sub></p> |
| <mark style="color:blue;">`statusdesc`</mark>    | [<mark style="color:blue;">`Description of message status`</mark>](#user-content-fn-1)[^1]                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

[^1]:


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://u-messanger.gitbook.io/u-messanger-docs/whatsapp-masking/webhook.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
