Hello,
I need help acomplishing the following scenario:
I have an external API that mimics Whatsapp Web for my users. For each user, I need to initialize an instance (like a virtual machine), generate a QR Code so my user can scan it and my app send messages automatically from there.
The problem is: for each user’s instance, I have to set a Webhook URL so that It can receive events like when the instance was disconected and the user needs to scan the qr code again, etc. Every instance will post events to its endpoint based on that specific user’s whatsapp number activity.
So I need to create some automated rule that every new registered user, I will need to generate an endpoint to set as the webhook URL for that User’s Whatsapp instance.
Is that possible?