> For the complete documentation index, see [llms.txt](https://support.whapi.cloud/help-desk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.whapi.cloud/help-desk/updates/update-oct.-25.md).

# Update Oct. 25

### Editing sent messages

With the new EDIT parameter in the message sending function, you can now edit messages after they've been sent. This is particularly useful if you spot a typo or want to supplement the information you've already provided.

{% hint style="info" %}
If you're integrating WhatsApp with a CRM, this feature becomes a game-changer. For instance, if an agent makes an error, they can correct the text seamlessly. On the automation side, bots can update a single message's content dynamically instead of sending multiple new messages, ensuring clarity and reducing clutter for the recipient.
{% endhint %}

{% embed url="<https://whapi.readme.io/reference/sendmessagetext>" %}

<figure><img src="/files/WqFIYk9HKc42h40lVliz" alt=""><figcaption><p>The EDIT parameter in the send message function (of any type). Allows to edit sent messages</p></figcaption></figure>

### **Label Management**

We've rolled out several endpoints for effective label handling. Now, you can retrieve a list of all labels and associate or dissociate messages and dialogs with specific labels.

{% hint style="info" %}
Labels are the perfect tool for segmenting and categorizing your dialogs. This can significantly streamline analytics and reporting processes. For businesses, this means more efficient customer targeting and tailored marketing campaigns.
{% endhint %}

{% embed url="<https://whapi.readme.io/reference/getlabels>" %}

* GET /labels - Get a list of labels (20 in total);&#x20;
* GET /labels/{labelID} - Get a list of label associations;&#x20;
* POST /labels/{labelID}/{itemID} - Assign an association to a label (message/dialog);&#x20;
* DELETE /labels/{labelID}/{itemID} - Delete the association;

<figure><img src="/files/6sxnTptXz5sekeVPQtBM" alt=""><figcaption><p>GET /labels - Get a list of labels (20 in total)</p></figcaption></figure>

### **Webhook Expansion**

Our introduction of new webhooks ensures you're always in the loop with updates, whether it's new labels, group member alterations, or updates to group data and contacts.

{% hint style="info" %}
Harness these new webhooks to automate workflows like notifications, reporting, or integration with other platforms. For instance, get instant alerts when a high-value customer is added to a group or auto-sync updated contact information with your sales platform.
{% endhint %}

* Webhooks: *labels.post* and *labels.delete* - new labels and delete labels;&#x20;
* Webhooks: *groups.put* - changes to group members;&#x20;
* Webhooks: *groups.post* - new groups;&#x20;
* Webhooks: *groups.patch* - update group data;&#x20;
* Webhooks: *contacts.patch* - update contacts;
* *messages.patch* and *chats.patch* send events if labels of messages and dialogs have changed.

#### Fixes

We've also taken the time to rectify several bugs to further elevate your API experience. Among these improvements are the real-time QR code refresh, the exclusion of system errors during uploads, and clear subtype designations in query responses.


---

# 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:

```
GET https://support.whapi.cloud/help-desk/updates/update-oct.-25.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
