1.
Visit your secret scan URL (configured in
.env as SCAN_PATH)
to scan the QR code with your WhatsApp.
2.
Send a POST request to
/send to send messages.3.
Endpoint:
http://localhost:3000/send4.
Auth: Basic Auth is required (Username/Password from
.env).5.
Body (JSON):
{
"number": "08123456789",
"message": "Hello from API!"
}
6.
The system will send the message to the destination number.