Skip to content

Commit e394531

Browse files
committed
12.1
1 parent e7f53c2 commit e394531

File tree

9 files changed

+71
-12
lines changed

9 files changed

+71
-12
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<div></div>
2+
{{< details "**📞 Calls - API**" >}}
3+
4+
| **API** | WEBJS | GOWS | NOWEB |
5+
|------------------------------------------------------------|:-----:|:----:|:-----:|
6+
| **Reject call** <br> `POST /api/{session}/calls/reject` | ✔️ | ✔️ | ✔️ |
7+
8+
{{< /details >}}
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<div></div>
22
{{< details "**📞 Calls - Events**" >}}
33

4-
| **Events** | WEBJS | NOWEB | GOWS |
5-
|-----------------|:-----:|:-----:|:-----|
6-
| `call.received` | ✔️ | ✔️ | |
7-
| `call.accepted` | | ✔️ | |
8-
| `call.rejected` | | ✔️ | |
4+
| **Events** | WEBJS | GOWS | NOWEB |
5+
|-----------------|:-----:|:----:|:-----:|
6+
| `call.received` | ✔️ | ✔️ | ✔️ |
7+
| `call.accepted` | | ✔️ | ✔️ |
8+
| `call.rejected` | ✔️¹ | ✔️ | ✔️ |
9+
10+
1. **WEBJS** - `call.rejected` works only when you rejected the call via API
911

1012
{{< /details >}}

content/docs/how-to/calls/index.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,30 @@ You can receive events about calls in WhatsApp using API!
1818
## Features
1919
Here's the list of features that are available by [**🏭 Engines**]({{< relref "/docs/how-to/engines" >}}):
2020

21+
{{< include file="content/docs/how-to/calls/features-api.md" >}}
22+
2123
{{< include file="content/docs/how-to/calls/features-events.md" >}}
2224

25+
## API
26+
27+
### Reject Call
28+
Decline an incoming call using its **call id** and **chat id** from the [`call.received`](#callreceived) event.
29+
30+
```http request
31+
POST /api/{session}/calls/reject
32+
```
33+
34+
```jsonc { title="Body" }
35+
{
36+
"from": "[email protected]",
37+
"id": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
38+
}
39+
```
40+
41+
👉 Available on **WEBJS, GOWS, NOWEB**
42+
43+
WAHA emits [`call.rejected`](#callrejected) after the call is declined.
44+
2345
## Events
2446
Read more about
2547
[**🔄 Events**]({{< relref "/docs/how-to/events" >}}).
@@ -35,6 +57,3 @@ Read more about
3557
### call.rejected
3658

3759
{{< include file="content/docs/how-to/calls/webhooks-call-rejected.md" >}}
38-
39-
40-

content/docs/how-to/calls/webhooks-call-accepted.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Happens when an incoming call is accepted (on another device) in WhatsApp (either 1-on-1 or group call).
2+
13
```jsonc { title="call.accepted" }
24
{
35
"event": "call.accepted",
@@ -7,9 +9,9 @@
79
"from": "[email protected]",
810
"timestamp": 1721374000,
911
"isVideo": false,
10-
"isGroup": false
12+
"isGroup": false,
13+
"_data": {}
1114
},
1215
...
1316
}
1417
```
15-

content/docs/how-to/calls/webhooks-call-received.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
You received an incoming call in WhatsApp (either 1-on-1 or group call).
2+
13
```jsonc { title="call.received" }
24
{
35
"event": "call.received",
@@ -7,7 +9,8 @@
79
"from": "[email protected]",
810
"timestamp": 1721374000,
911
"isVideo": false,
10-
"isGroup": false
12+
"isGroup": false,
13+
"_data": {}
1114
},
1215
...
1316
}

content/docs/how-to/calls/webhooks-call-rejected.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Call has been rejected or terminated.
2+
13
```jsonc { title="call.rejected" }
24
{
35
"event": "call.rejected",
@@ -7,7 +9,8 @@
79
"from": "[email protected]",
810
"timestamp": 1721374000,
911
"isVideo": false,
10-
"isGroup": false
12+
"isGroup": false,
13+
"_data": {}
1114
},
1215
...
1316
}

content/docs/how-to/engines/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ Read more about
219219
Read more about
220220
[**📞 Calls**]({{< relref "/docs/how-to/calls" >}})
221221

222+
{{< include file="content/docs/how-to/calls/features-api.md" >}}
223+
222224
{{< include file="content/docs/how-to/calls/features-events.md" >}}
223225

224226
### 🗄️ Storages

content/docs/overview/changelog/index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,24 @@ Check the [**🔧 Install & Update**]({{< relref "/docs/how-to/install" >}}) pag
4949

5050
{{< autolink-issues repo=devlikeapro/waha >}}
5151
{{< autolink-prs repo=devlikeapro/waha >}}
52+
### 2025.12
53+
54+
{{< autolink-issues repo=devlikeapro/waha >}}
55+
{{< autolink-prs repo=devlikeapro/waha >}}
56+
57+
🆕 **New**
58+
- `2025.12.1` - **API** - [**📞 Reject Call API**]({{< relref "/docs/how-to/calls#reject-call" >}}) - fix #608 fix #1258
59+
- **WEBJS, GOWS, NOWEB**
60+
- `2025.12.1` - **WEBJS** - Add `call.rejected` event when rejected via API
61+
- `2025.12.1` - **GOWS** - Add `call` events - fix #1673
62+
63+
**🧩 ChatWoot**
64+
- `2025.12.1` - add [**📞 Calls**]({{< relref "/docs/how-to/calls" >}}) messages
65+
- `2025.12.1` - fix symbols in the middle of text - fix #1643
66+
67+
{{< /autolink-prs >}}
68+
{{< /autolink-issues >}}
69+
5270
### 2025.11
5371

5472
🆕 **New**

hugo_stats.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@
522522
"20251",
523523
"202510",
524524
"202511",
525+
"202512",
525526
"20252",
526527
"20253",
527528
"20254",
@@ -871,6 +872,7 @@
871872
"recommended-proxies",
872873
"refresh-contact-basics",
873874
"refresh-groups",
875+
"reject-call",
874876
"releases",
875877
"remove-participants",
876878
"reply-on-message",

0 commit comments

Comments
 (0)