Closed Momaiz closed 1 year ago
i think if you change the config on your env file, it would receive all information from all instance. to do this individually, you can add some parameters to init url like this
http://localhost:3333/instance/init?webhook=true_or_false&webhookUrl=your_webhook_url
also in your env file you must set to WEBHOOK_ENABLED=true
Correct me if i am wrong @salman0ansari
Thank you for answer @achdiadsyah We already enabled webhook in .env And when initlizaize instance we sent
webhook=true webhookUrl=https://momaiz.net/wapi.php
Also we checked the .env file
WEBHOOK_ENABLED=true WEBHOOK_URL=http://momaiz.net/wapi.php WEBHOOK_BASE64=true WEBHOOK_ALLOWED_EVENTS=all
Webhook not fired , @achdiadsyah @salman0ansari how can we test please ?
Sorry, it was my fault . the problem was "i added webhool url as http but ssl redirect it to https" so when redirect the data ignored .
Hello , How are you
I need to webhook when have answer on any messages we sent . so i add to .env
and restarted the server to load my .env updates
also in my webhook url i recived all request and posted data and save them to file but no data was sent .
What am i missing ?
Best regards