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

[enhancement] /chats endpoint is not implemented on NOWEB

Open ehussain opened this issue 1 year ago • 1 comments

Hello,

We are making following api call on NOWEB instance but we are getting this exception.

/api/{session}/chats?session={session}
{"statusCode":422,"message":"The method is not implemented by the engine.","error":"Unprocessable Entity"}

Please implement this endpoint on NOWEB engine so we can fetch the active chats in whatsapp.

ehussain avatar Oct 06 '23 10:10 ehussain

We'll implement remote storage and add that endpoint after https://github.com/devlikeapro/whatsapp-http-api/issues/41

allburov avatar Oct 10 '23 11:10 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