# Events

If you do not know what events you want to listen to while preparing your Webhook Server, you can choose the most suitable one from the lists below.

| Event                        | Description                                                             |
| ---------------------------- | ----------------------------------------------------------------------- |
| `whatsapp.call.received`     | Triggers when a new WhatsApp call is received and **missed**            |
| `whatsapp.message.new`       | Triggers when a new WhatsApp message is either **sent** or **received** |
| `whatsapp.message.received`  | Triggers when a new WhatsApp message is **received**                    |
| `whatsapp.message.sent`      | Triggers when a new WhatsApp message is **sent**                        |
| `whatsapp.conversation.new`  | Triggers when a new WhatsApp conversation **is started**                |
| `whatsapp.audio.transcribed` | Triggers when a new WhatsApp audio message is **transcribed to text**   |

**WhatsApp group related events:**[**​**](https://developers.2chat.co/docs/API/WhatsApp/webhooks/subscribe#whatsapp-group-related-events)

| Event                             | Description                                                                    |
| --------------------------------- | ------------------------------------------------------------------------------ |
| `whatsapp.group.message.received` | Triggers when a message is received on a WhatsApp group your number is part of |
| `whatsapp.group.join`             | Triggers when someone joins a group                                            |
| `whatsapp.group.leave`            | Triggers when someone leaves a group                                           |
| `whatsapp.group.remove`           | Triggers when someone is kicked/removed from a group                           |


---

# Agent Instructions: 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://whatsappjs.gitbook.io/docs/events.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.
