whatsapp-http-api
whatsapp-http-api copied to clipboard
[Feature Request] - Validate sessions payload
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