wwebjs-api
wwebjs-api copied to clipboard
This project is a REST API wrapper for the whatsapp-web.js library, providing an easy-to-use interface to interact with the WhatsApp Web platform.
I can see in features that it supports sending video but i dont see same anywhere in api?
curl -X 'POST' 'http://.:3000/client/sendMessage/992b8161fa6a50b2f50bb89b93c0c325' -H 'accept: /' -H 'Content-Type: application/json' -d '{ "chatId": "*******[[email protected]](mailto:[email protected])", "contentType": "string", "content": "Hello World!" }' return: "error": "Evaluation failed: TypeError: Cannot read properties of undefined...
Hi, I’ve already started the session, and when I check /session/status/{sessionid}, I get the following response: { "success": true, "state": "CONNECTED", "message": "session_connected" } However, when I try to send...
I've a question regarding memory usage, when you use the headless browser option, does it impact memory usage? I've 2 sessions and those take almost 5 GB of RAM, so...
The project frequently terminates unexpectedly when we are running tests. error log ``` {"level":30,"time":1761891447755,"pid":30764,"hostname":"linxiaoxuan-PC","sessionId":"f15b059d8cb34cd4ba5d0aef9af1428b","msg":"Destroying session"} /home/linxiaoxuan/Project/wwebjs-api/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:329 error: new Errors_js_1.ProtocolError(), ^ ProtocolError: Protocol error (Runtime.callFunctionOn): Target closed. at /home/linxiaoxuan/Project/wwebjs-api/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:329:24 at new...
Hi, I'm having this error when pairing the device. It connects, but immediately displays this error. Thank you so much. wwebjs-api | {"level":50,"time":1760390134684,"pid":18,"hostname":"efc2fe759045","sessionId":"CONECTAC23","url":"https://crashlogs.whatsapp.net/wa_clb_data?type=crashlog&access_token=1063127757113399%7C745146ffa34413f9dbb5469f5370b7af","msg":"Page request failed: net::ERR_ABORTED"} wwebjs-api | {"level":50,"time":1760390135150,"pid":18,"hostname":"efc2fe759045","sessionId":"CONECTAC23","url":"https://graph.whatsapp.net/wa_qpl_data","msg":"Page request...
After connecting a session successfully, each webhook event will be fired twice. However, if I restart the server, it works just fine from there. I did not find any issues...
Hi, this PR enhances the Docker setup to allow the host port to be configured dynamically. ### The Problem Currently, the `docker-compose.yml` file has the host port hardcoded as `3000`...
Hi Anton, First, thanks for your work on this project—it’s been incredibly useful ! Suggestion: Could we extend the session creation to accept a webhook URL? Currently, we need to:...
Hello! The readme says: > This project is a fork of [whatsapp-api](https://github.com/chrishubert/whatsapp-api). As the project was abandoned by the original author, all future improvements will be in this repo. I'm...