Skip to content

GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.

chore: update openapi

Aldino Kemala09db8fb9798
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index 889838cf..a99cd68e 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: WhatsApp API MultiDevice
- version: 3.9.0
+ version: 3.10.0
description: This API is used for sending whatsapp via API
servers:
- url: http://localhost:3000
@@ -740,6 +740,46 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ErrorInternalServer'
+ /group:
+ post:
+ operationId: createGroup
+ tags:
+ - group
+ summary: Create group and add participant
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ title:
+ type: string
+ example: 'Example Group Title'
+ participants:
+ type: array
+ example:
+ - '6819241294719274'
+ - '6829241294719274'
+ - '6839241294719274'
+ responses:
+ '200':
+ description: OK
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/SendResponse'
+ '400':
+ description: Bad Request
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorBadRequest'
+ '500':
+ description: Internal Server Error
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorInternalServer'
/group/join-with-link:
post:
operationId: joinGroupWithLink
diff --git a/readme.md b/readme.md
index d87e9a59..8e00a0a2 100644
--- a/readme.md
+++ b/readme.md
@@ -135,7 +135,7 @@ API using [openapi-generator](https://openapi-generator.tech/#try)
### App User Interface
1. Homepage ![Homepage](https://i.ibb.co/TBNcFT0/homepage.png)
-2. Login ![Login](https://i.ibb.co/jkcB15R/login.png)
+2. Login ![Login](https://i.ibb.co/jkcB15R/login.png?v=1)
3. Send Message ![Send Message](https://i.ibb.co/rc3NXMX/send-message.png?v1)
4. Send Image ![Send Image](https://i.ibb.co/BcFL3SD/send-image.png?v1)
5. Send File ![Send File](https://i.ibb.co/f4yxjpp/send-file.png)
@@ -147,8 +147,8 @@ API using [openapi-generator](https://openapi-generator.tech/#try)
11. Revoke Message ![Revoke Message](https://i.ibb.co/yswhvQY/revoke.png?v1)
12. Reaction Message ![Revoke Message](https://i.ibb.co/BfHgSHG/react-message.png)
13. Edit Message ![Edit Message](https://i.ibb.co/kXfpqJw/update-message.png)
-14. User Info ![User Info](https://i.ibb.co/3zjX6Cz/user-info.png)
-15. User Avatar ![User Avatar](https://i.ibb.co/ZmJZ4ZW/search-avatar.png)
+14. User Info ![User Info](https://i.ibb.co/3zjX6Cz/user-info.png?v=1)
+15. User Avatar ![User Avatar](https://i.ibb.co/ZmJZ4ZW/search-avatar.png?v=1)
16. My Privacy ![My Privacy](https://i.ibb.co/Cw1sMQz/my-privacy.png)
17. My Group ![My Group](https://i.ibb.co/WB268Xy/list-group.png)
18. Auto Reply ![Auto Reply](https://i.ibb.co/D4rTytX/IMG-20220517-162500.jpg)