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

[Feature Request] - Validate sessions payload

Open devlikepro opened this issue 6 months ago • 1 comments

Right now it's possible to start not valid sessions, like using webhooks key=value instead of list

  {
    "name": "session_12",
    "config": {
      "webhooks": {
        "url": "https://dev-api.wconnect.app/webhooks/receive",
        "events": [
          "message.any",
          "session.status"
        ],
        "retries": {
          "delaySeconds": 2,
          "attempts": 15
        }
      }
    },
  }

We need to validate it in endpoints

patron:PRO

devlikepro avatar Aug 02 '24 09:08 devlikepro