whatsapp-http-api icon indicating copy to clipboard operation
whatsapp-http-api copied to clipboard

[Feature Request]Get Chats with NOWEB

Open xMunduSCodEx opened this issue 10 months ago • 1 comments

Hello any way to fetch chat using NOWEB and Phone Number Linking? as it's really annoying to scan the QR code needs 2 devices. the phone number is good option but i see that doesn't support to fetch the messages any idea?

xMunduSCodEx avatar Apr 20 '24 17:04 xMunduSCodEx

Sorry, could you explain a bit what do you mean? " Phone Number Linking" is it like by pairing by code? Or emulating the real app, I don't get it :(

allburov avatar Apr 21 '24 11:04 allburov

Start a brand new session - meaning call POST /api/sessions/logout before and POST /api/sessions/start with payload

{
  "name": "default",
  "config": {
    "noweb": {
      "enabled": {
        "store": true,
        "fullSync": false
      }
    }
  }
}

After that you'll have access those endpoints on NOWEB engine


https://waha.devlike.pro/docs/overview/changelog/#20246

You asked it, we did it - contacts, chats, and messages endpoints are now available in NOWEB engine! Please make sure to Enable NOWEB Store before using these endpoints.

  • Build: 2024.6.3
  • Engine: NOWEB

patron:PRO

devlikepro avatar Jun 14 '24 07:06 devlikepro